| 1 | <?php |
||
| 8 | class Runner implements RunableInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * The component instance. |
||
| 12 | * |
||
| 13 | * @var \Consigliere\Components\Repository |
||
| 14 | */ |
||
| 15 | protected $component; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * The constructor. |
||
| 19 | * |
||
| 20 | * @param \Consigliere\Components\Repository $component |
||
| 21 | */ |
||
| 22 | public function __construct(Repository $component) |
||
| 26 | |||
| 27 | |||
| 28 | /** |
||
| 29 | * Run the given command. |
||
| 30 | * |
||
| 31 | * @param string $command |
||
| 32 | */ |
||
| 33 | public function run($command) |
||
| 37 | } |
||
| 38 |