1 | <?php |
||
17 | class StatusCommand extends AbstractController implements CommandInterface |
||
18 | { |
||
19 | /** |
||
20 | * Database migrations helper |
||
21 | * |
||
22 | * @var Migrations |
||
23 | * @since 1.0 |
||
24 | */ |
||
25 | private $migrations; |
||
26 | |||
27 | /** |
||
28 | * Constructor. |
||
29 | * |
||
30 | * @param Migrations $migrations Database migrations helper |
||
31 | * |
||
32 | * @since 1.0 |
||
33 | */ |
||
34 | public function __construct(Migrations $migrations) |
||
38 | |||
39 | /** |
||
40 | * Execute the controller. |
||
41 | * |
||
42 | * @return boolean |
||
43 | * |
||
44 | * @since 1.0 |
||
45 | */ |
||
46 | public function execute() |
||
70 | |||
71 | /** |
||
72 | * Get the command's description |
||
73 | * |
||
74 | * @return string |
||
75 | * |
||
76 | * @since 1.0 |
||
77 | */ |
||
78 | public function getDescription() |
||
82 | |||
83 | /** |
||
84 | * Get the command's title |
||
85 | * |
||
86 | * @return string |
||
87 | * |
||
88 | * @since 1.0 |
||
89 | */ |
||
90 | public function getTitle() |
||
94 | } |
||
95 |