| 1 | <?php |
||
| 17 | class Application extends BaseApplication |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var Container |
||
| 21 | */ |
||
| 22 | protected $container; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var Dispatcher |
||
| 26 | */ |
||
| 27 | protected $dispatcher; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var Configuration |
||
| 31 | */ |
||
| 32 | protected $configuration; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @var InputInterface |
||
| 36 | */ |
||
| 37 | protected $input; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @var OutputInterface |
||
| 41 | */ |
||
| 42 | protected $output; |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @var Logger |
||
| 46 | */ |
||
| 47 | protected $logger; |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @var LoopInterface |
||
| 51 | */ |
||
| 52 | protected $loop; |
||
| 53 | |||
| 54 | |||
| 55 | public function __construct(Configuration $configuration, $name = null, $version = null) |
||
| 63 | |||
| 64 | /** |
||
| 65 | * Gets the dispatcher |
||
| 66 | * @return Dispatcher |
||
| 67 | */ |
||
| 68 | public function getDispatcher() |
||
| 72 | |||
| 73 | /** |
||
| 74 | * @return Configuration |
||
| 75 | */ |
||
| 76 | public function getConfiguration() |
||
| 80 | |||
| 81 | /** |
||
| 82 | * Gets the loop instance |
||
| 83 | * @return LoopInterface |
||
| 84 | */ |
||
| 85 | public function getLoop() |
||
| 89 | |||
| 90 | /** |
||
| 91 | * Gets the logger instance |
||
| 92 | * @return Logger |
||
| 93 | */ |
||
| 94 | public function getLogger() |
||
| 98 | |||
| 99 | /** |
||
| 100 | * @return InputInterface |
||
| 101 | */ |
||
| 102 | public function getInput() |
||
| 106 | |||
| 107 | /** |
||
| 108 | * @return OutputInterface |
||
| 109 | */ |
||
| 110 | public function getOutput() |
||
| 114 | } |