| 1 | <?php |
||
| 23 | abstract class Runner |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @var \sebastianfeldmann\CaptainHook\Console\IO|\CaptainHook\IO |
||
| 27 | */ |
||
| 28 | protected $io; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var \sebastianfeldmann\CaptainHook\Config |
||
| 32 | */ |
||
| 33 | protected $config; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @var \sebastianfeldmann\CaptainHook\Git\Repository |
||
| 37 | */ |
||
| 38 | protected $repository; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Installer constructor. |
||
| 42 | * |
||
| 43 | * @param \sebastianfeldmann\CaptainHook\Console\IO $io |
||
| 44 | * @param \sebastianfeldmann\CaptainHook\Config $config |
||
| 45 | * @param \sebastianfeldmann\CaptainHook\Git\Repository $repository |
||
| 46 | */ |
||
| 47 | 20 | public function __construct(IO $io, Config $config, Repository $repository) |
|
| 53 | |||
| 54 | /** |
||
| 55 | * Executes the Runner. |
||
| 56 | */ |
||
| 57 | abstract public function run(); |
||
| 58 | } |
||
| 59 |