| Total Complexity | 5 |
| Total Lines | 81 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 21 | class Proxy extends Command |
||
| 22 | { |
||
| 23 | use EVKit; |
||
| 24 | use Dumps; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var Bootstrap |
||
| 28 | */ |
||
| 29 | private $bootstrap = null; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | private $target = null; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @var Based |
||
| 38 | */ |
||
| 39 | private $ref = null; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @param string $name |
||
| 43 | * @return static |
||
| 44 | */ |
||
| 45 | public function setApp(string $name) : self |
||
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @param Bootstrap $bootstrap |
||
| 53 | * @return static |
||
| 54 | */ |
||
| 55 | public function setBootstrap(Bootstrap $bootstrap) : self |
||
| 56 | { |
||
| 57 | $this->bootstrap = $bootstrap; |
||
| 58 | return $this; |
||
| 59 | } |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @param string $class |
||
| 63 | * @return static |
||
| 64 | */ |
||
| 65 | public function setCommand(string $class) : self |
||
| 66 | { |
||
| 67 | $this->target = $class; |
||
| 68 | return $this; |
||
| 69 | } |
||
| 70 | |||
| 71 | /** |
||
| 72 | * @return Based |
||
| 73 | */ |
||
| 74 | public function getCommand() : Programme |
||
| 77 | } |
||
| 78 | |||
| 79 | /** |
||
| 80 | * @param InputInterface $input |
||
| 81 | * @param OutputInterface $output |
||
| 82 | * @return int |
||
| 83 | */ |
||
| 84 | public function execute(InputInterface $input, OutputInterface $output) |
||
| 102 | } |
||
| 103 | } |
||
| 104 |