for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of SebastianFeldmann\Git.
*
* (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\Git\Operator;
use SebastianFeldmann\Cli\Command\Runner;
use SebastianFeldmann\Git\Repository;
* Class Base
* @package SebastianFeldmann\Git
* @author Sebastian Feldmann <[email protected]>
* @link https://github.com/sebastianfeldmann/git
* @since Class available since Release 0.9.0
abstract class Base
{
* Runner to execute git system calls.
* @var \SebastianFeldmann\Cli\Command\Runner
protected $runner;
* Git repository to use.
* @var \SebastianFeldmann\Git\Repository
protected $repo;
* Base constructor.
* @param \SebastianFeldmann\Cli\Command\Runner $runner
* @param \SebastianFeldmann\Git\Repository $repo
public function __construct(Runner $runner, Repository $repo)
$this->runner = $runner;
$this->repo = $repo;
}