1 | <?php |
||
17 | * |
||
18 | * @method \Joomla\StatsServer\CliApplication getApplication() Get the application object. |
||
19 | * @property-read \Joomla\StatsServer\CliApplication $app Application object |
||
20 | */ |
||
21 | class StatusCommand extends AbstractController implements CommandInterface |
||
22 | { |
||
23 | /** |
||
24 | * Database migrations helper |
||
25 | * |
||
26 | * @var Migrations |
||
27 | */ |
||
28 | private $migrations; |
||
29 | |||
30 | /** |
||
31 | * Constructor. |
||
32 | * |
||
33 | * @param Migrations $migrations Database migrations helper |
||
34 | */ |
||
35 | public function __construct(Migrations $migrations) |
||
39 | |||
40 | /** |
||
41 | * Execute the controller. |
||
42 | * |
||
43 | * @return boolean |
||
44 | */ |
||
45 | public function execute() |
||
69 | |||
70 | /** |
||
71 | * Get the command's description |
||
72 | * |
||
73 | * @return string |
||
74 | */ |
||
75 | public function getDescription() : string |
||
79 | |||
80 | /** |
||
81 | * Get the command's title |
||
82 | * |
||
83 | * @return string |
||
84 | */ |
||
85 | public function getTitle() : string |
||
89 | } |
||
90 |