Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
27 | public static function main() |
||
28 | { |
||
29 | SymfonyEventAdapter::getInstance()->addSubscriber(new ModuleMakerSubscriber()); |
||
30 | SymfonyEventAdapter::getInstance()->addSubscriber(new ClassMappingMakerSubscriber()); |
||
31 | SymfonyEventAdapter::getInstance()->addSubscriber(new ClassServiceProviderMakerSubscriber()); |
||
32 | SymfonyEventAdapter::getInstance()->addSubscriber(new ClassCommandMakerSubscriber()); |
||
33 | SymfonyEventAdapter::getInstance()->addSubscriber(new ClassCommandHandlerMakerSubscriber()); |
||
34 | SymfonyEventAdapter::getInstance()->addSubscriber(new AddingCommandInMappingSubscriber()); |
||
35 | |||
36 | $app = new Application('Saci Console', 'v0.0.1'); |
||
37 | $app->add(new ModuleMakerCommand()); |
||
38 | $app->add(new CommandHandlerMakerCommand()); |
||
39 | |||
40 | $app->run(); |
||
41 | } |
||
42 | } |