1
0
mirror of https://github.com/restoreddev/phpapprentice.git synced 2025-10-24 03:16:07 +02:00

Initial commit for public repo

This commit is contained in:
Andrew Davis
2018-09-02 10:57:36 -05:00
commit cb5d7c2386
79 changed files with 14644 additions and 0 deletions

22
src/App.php Normal file
View File

@@ -0,0 +1,22 @@
<?php
namespace Apprentice;
use Apprentice\Command;
use Symfony\Component\Console\Application;
class App
{
/**
* Runs cli application
*
* @return void
*/
public function main(): void
{
$cli = new Application;
$cli->add(new Command\BuildCommand);
$cli->add(new Command\ServerCommand);
$cli->run();
}
}