1 | <?php |
||
8 | abstract class Installator implements InstallatorContract |
||
9 | { |
||
10 | /** |
||
11 | * The console command instance. |
||
12 | * |
||
13 | * @var \Illuminate\Console\Command |
||
14 | */ |
||
15 | protected $command; |
||
16 | |||
17 | /** |
||
18 | * @var Repository |
||
19 | */ |
||
20 | protected $config; |
||
21 | |||
22 | /** |
||
23 | * Create a new installer instance. |
||
24 | * |
||
25 | * @param \SleepingOwl\Admin\Console\Commands\InstallCommand $command |
||
26 | * @param Repository $config |
||
27 | */ |
||
28 | public function __construct($command, Repository $config) |
||
33 | |||
34 | /** |
||
35 | * При возврате методом true данный компонент будет пропущен. |
||
36 | * |
||
37 | * @return bool |
||
38 | */ |
||
39 | public function installed() |
||
43 | } |
||
44 |