4 * This file is part of the Behat Testwork.
5 * (c) Konstantin Kudryashov <ever.zet@gmail.com>
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
11 namespace Behat\Testwork\Cli;
13 use Symfony\Component\Console\Command\Command as SymfonyCommand;
14 use Symfony\Component\Console\Input\InputInterface;
15 use Symfony\Component\Console\Output\OutputInterface;
18 * Represents Testwork Console Controller.
20 * All testwork console controllers should implement this interface.
22 * @author Konstantin Kudryashov <ever.zet@gmail.com>
27 * Configures command to be executable by the controller.
29 * @param SymfonyCommand $command
31 public function configure(SymfonyCommand $command);
34 * Executes controller.
36 * @param InputInterface $input
37 * @param OutputInterface $output
39 * @return null|integer
41 public function execute(InputInterface $input, OutputInterface $output);