for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of CaptainHook.
*
* (c) Sebastian Feldmann <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace SebastianFeldmann\CaptainHook;
use SebastianFeldmann\CaptainHook\Console\IO;
use SebastianFeldmann\Git\Repository;
* Class Runner
* @package CaptainHook
* @author Sebastian Feldmann <[email protected]>
* @link https://github.com/sebastianfeldmann/captainhook
* @since Class available since Release 0.9.0
abstract class Runner
{
* @var \SebastianFeldmann\CaptainHook\Console\IO
protected $io;
* @var \SebastianFeldmann\CaptainHook\Config
protected $config;
* @var \SebastianFeldmann\Git\Repository
protected $repository;
* Installer constructor.
* @param \SebastianFeldmann\CaptainHook\Console\IO $io
* @param \SebastianFeldmann\CaptainHook\Config $config
* @param \SebastianFeldmann\Git\Repository $repository
public function __construct(IO $io, Config $config, Repository $repository)
$this->io = $io;
$this->config = $config;
$this->repository = $repository;
}
* Executes the Runner.
abstract public function run();