1 | <?php |
||
24 | class WebApplication extends AbstractWebApplication |
||
25 | { |
||
26 | /** |
||
27 | * The application's controller resolver. |
||
28 | * |
||
29 | * @var ControllerResolverInterface |
||
30 | * @since __DEPLOY_VERSION__ |
||
31 | */ |
||
32 | protected $controllerResolver; |
||
33 | |||
34 | /** |
||
35 | * The application's router. |
||
36 | * |
||
37 | * @var Router |
||
38 | * @since __DEPLOY_VERSION__ |
||
39 | */ |
||
40 | protected $router; |
||
41 | |||
42 | /** |
||
43 | * Class constructor. |
||
44 | * |
||
45 | * @param ControllerResolverInterface $controllerResolver The application's controller resolver |
||
46 | * @param Router $router The application's router |
||
47 | * @param Input $input An optional argument to provide dependency injection for the application's |
||
48 | * input object. |
||
49 | * @param Registry $config An optional argument to provide dependency injection for the application's |
||
50 | * config object. |
||
51 | * @param WebClient $client An optional argument to provide dependency injection for the application's |
||
52 | * client object. |
||
53 | * @param ResponseInterface $response An optional argument to provide dependency injection for the application's |
||
54 | * response object. |
||
55 | * |
||
56 | * @since __DEPLOY_VERSION__ |
||
57 | */ |
||
58 | 9 | public function __construct( |
|
73 | |||
74 | /** |
||
75 | * Method to run the application routines. |
||
76 | * |
||
77 | * @return void |
||
78 | * |
||
79 | * @since __DEPLOY_VERSION__ |
||
80 | */ |
||
81 | protected function doExecute(): void |
||
93 | } |
||
94 |