Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Testwork / Cli / Controller.php
1 <?php
2
3 /*
4  * This file is part of the Behat Testwork.
5  * (c) Konstantin Kudryashov <ever.zet@gmail.com>
6  *
7  * For the full copyright and license information, please view the LICENSE
8  * file that was distributed with this source code.
9  */
10
11 namespace Behat\Testwork\Cli;
12
13 use Symfony\Component\Console\Command\Command as SymfonyCommand;
14 use Symfony\Component\Console\Input\InputInterface;
15 use Symfony\Component\Console\Output\OutputInterface;
16
17 /**
18  * Represents Testwork Console Controller.
19  *
20  * All testwork console controllers should implement this interface.
21  *
22  * @author Konstantin Kudryashov <ever.zet@gmail.com>
23  */
24 interface Controller
25 {
26     /**
27      * Configures command to be executable by the controller.
28      *
29      * @param SymfonyCommand $command
30      */
31     public function configure(SymfonyCommand $command);
32
33     /**
34      * Executes controller.
35      *
36      * @param InputInterface  $input
37      * @param OutputInterface $output
38      *
39      * @return null|integer
40      */
41     public function execute(InputInterface $input, OutputInterface $output);
42 }