diff options
author | Fbenas <philbeansburton@gmail.com> | 2017-08-22 00:45:29 +0100 |
---|---|---|
committer | Fbenas <philbeansburton@gmail.com> | 2017-08-22 00:45:29 +0100 |
commit | 655c4f38241ab58a3404acb15a751f07dc1bca6a (patch) | |
tree | 7ae2cca93857025e4d83bf67600d47b4a5f20058 /src/Script/Console.php | |
parent | 31ac8bccdae86eeb150cb396c44ee88427120e3e (diff) |
Complete refactor
Diffstat (limited to 'src/Script/Console.php')
-rw-r--r-- | src/Script/Console.php | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/Script/Console.php b/src/Script/Console.php index 926f41f..5f5d90d 100644 --- a/src/Script/Console.php +++ b/src/Script/Console.php @@ -3,14 +3,22 @@ namespace App\Script; use Symfony\Component\Console\Application; -use App\Script\Command\Site; +use App\Script\Command\Site\Create; +/** + * Main application class + */ class Console { + /** + * Create symfony application and add commands + * + * @author Phil Burton <phil@pgburton.com> + */ public function __construct() { $application = new Application(); - $application->add(new Site()); + $application->add(new Create()); $application->run(); } } |