| 1 | <?php |
||
| 16 | abstract class AbstractProcessor implements ProcessorInterface |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var IOInterface |
||
| 20 | */ |
||
| 21 | private $io; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var Composer |
||
| 25 | */ |
||
| 26 | private $composer; |
||
| 27 | |||
| 28 | |||
| 29 | 3 | public function __construct(IOInterface $io, Composer $composer) |
|
| 34 | |||
| 35 | /** |
||
| 36 | * @return IOInterface |
||
| 37 | */ |
||
| 38 | 1 | protected function getIO() |
|
| 42 | |||
| 43 | /** |
||
| 44 | * @return Composer |
||
| 45 | */ |
||
| 46 | 1 | protected function getComposer() |
|
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | */ |
||
| 54 | abstract public function process(ConfigurationInterface $configuration, Event $event); |
||
| 55 | } |
||
| 56 |