From 655c4f38241ab58a3404acb15a751f07dc1bca6a Mon Sep 17 00:00:00 2001 From: Fbenas Date: Tue, 22 Aug 2017 00:45:29 +0100 Subject: Complete refactor --- src/Script/Console.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/Script/Console.php') 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 + */ public function __construct() { $application = new Application(); - $application->add(new Site()); + $application->add(new Create()); $application->run(); } } -- cgit v1.2.3