PHP Classes

File: samples/cakephp/bin/cake

Recommend this page to a friend!
  Packages of Jonatas Matheus Gino de Souza   PHP Service Runner   samples/cakephp/bin/cake   Download  
File: samples/cakephp/bin/cake
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Service Runner
Invoke services using payload data as parameters
Author: By
Last change:
Date: 11 days ago
Size: 264 bytes
 

Contents

Class file image Download
#!/usr/bin/env php
<?php

require dirname(__DIR__) . '/config/paths.php';

require
ROOT . DS . 'config' . DS . 'bootstrap.php';

use
App\Application;
use
Cake\Console\CommandRunner;

$runner = new CommandRunner(new Application(CONFIG));
exit(
$runner->run($argv));