1 | <?php |
||
12 | final class PlaceholdersController implements Controller |
||
13 | { |
||
14 | |||
15 | private $placeholdersRepository; |
||
16 | |||
17 | public function __construct(PlaceholdersRepository $placeholdersRepository) |
||
21 | |||
22 | /** |
||
23 | * Adds the optional --environment / -e option to the Behat CLI |
||
24 | * |
||
25 | * @param SymfonyCommand $command |
||
26 | */ |
||
27 | public function configure(SymfonyCommand $command) |
||
37 | |||
38 | /** |
||
39 | * Gets the environment option and pass it on to the PlaceholdersReplacer |
||
40 | * |
||
41 | * @param InputInterface $input |
||
42 | * @param OutputInterface $output |
||
43 | * @todo pass environment to StepTester |
||
44 | */ |
||
45 | public function execute(InputInterface $input, OutputInterface $output) |
||
51 | } |
||
52 |