for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* Copyright (c) Arnaud Ligny <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Cecil\Step;
use Cecil\Builder;
use Cecil\Config;
abstract class AbstractStep implements StepInterface
{
/**
* @var Builder
protected $builder;
* @var Config
protected $config;
* @var bool
protected $process = false;
* {@inheritdoc}
public function __construct(Builder $builder)
$this->builder = $builder;
$this->config = $builder->getConfig();
}
public function init($options)
$this->process = true;
public function runProcess()
if ($this->process) {
$this->process();
abstract public function process();