1 | <?php |
||
14 | class Command extends BaseCommand implements CommandInterface |
||
15 | { |
||
16 | /** |
||
17 | * @var RegistryManager |
||
18 | */ |
||
19 | protected $manager; |
||
20 | |||
21 | /** |
||
22 | * composer.json |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $composerFileName = 'composer.json'; |
||
26 | |||
27 | public function __construct(RegistryManager $manager, $name = null) |
||
32 | |||
33 | public function configure() |
||
37 | |||
38 | /** |
||
39 | * @param RegistryManager $manager |
||
40 | */ |
||
41 | public function setManager($manager) |
||
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | public function getManager() |
||
53 | |||
54 | /** |
||
55 | * Is global mode |
||
56 | * @param InputInterface $input |
||
57 | * @throws RuntimeException |
||
58 | * @return bool |
||
59 | */ |
||
60 | public function checkIsCurrent(InputInterface $input) |
||
71 | |||
72 | /** |
||
73 | * @param string $composerFileName |
||
74 | */ |
||
75 | public function setComposerFileName($composerFileName) |
||
79 | |||
80 | /** |
||
81 | * @return string |
||
82 | */ |
||
83 | public function getComposerFileName() |
||
87 | } |
||
88 |