X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fbehat%2Fbehat%2Fsrc%2FBehat%2FTestwork%2FOutput%2FPrinter%2FFactory%2FOutputFactory.php;fp=vendor%2Fbehat%2Fbehat%2Fsrc%2FBehat%2FTestwork%2FOutput%2FPrinter%2FFactory%2FOutputFactory.php;h=0000000000000000000000000000000000000000;hp=20f47d35ad57f964356a459ca4612eb9c8a253e0;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/behat/behat/src/Behat/Testwork/Output/Printer/Factory/OutputFactory.php b/vendor/behat/behat/src/Behat/Testwork/Output/Printer/Factory/OutputFactory.php deleted file mode 100644 index 20f47d35a..000000000 --- a/vendor/behat/behat/src/Behat/Testwork/Output/Printer/Factory/OutputFactory.php +++ /dev/null @@ -1,129 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Behat\Testwork\Output\Printer\Factory; - -use Symfony\Component\Console\Output\OutputInterface; - -/** - * @author Wouter J - * @author Konstantin Kudryashov - */ -abstract class OutputFactory -{ - const VERBOSITY_NORMAL = 1; - const VERBOSITY_VERBOSE = 2; - const VERBOSITY_VERY_VERBOSE = 3; - const VERBOSITY_DEBUG = 4; - - /** - * @var null|string - */ - private $outputPath; - /** - * @var array - */ - private $outputStyles = array(); - /** - * @var null|Boolean - */ - private $outputDecorated = null; - /** - * @var integer - */ - private $verbosityLevel = 0; - - /** - * Sets output path. - * - * @param string $path - */ - public function setOutputPath($path) - { - $this->outputPath = $path; - } - - /** - * Returns output path. - * - * @return null|string - */ - public function getOutputPath() - { - return $this->outputPath; - } - - /** - * Sets output styles. - * - * @param array $styles - */ - public function setOutputStyles(array $styles) - { - $this->outputStyles = $styles; - } - - /** - * Returns output styles. - * - * @return array - */ - public function getOutputStyles() - { - return $this->outputStyles; - } - - /** - * Forces output to be decorated. - * - * @param Boolean $decorated - */ - public function setOutputDecorated($decorated) - { - $this->outputDecorated = $decorated; - } - - /** - * Returns output decoration status. - * - * @return null|Boolean - */ - public function isOutputDecorated() - { - return $this->outputDecorated; - } - - /** - * Sets output verbosity level. - * - * @param integer $level - */ - public function setOutputVerbosity($level) - { - $this->verbosityLevel = intval($level); - } - - /** - * Returns output verbosity level. - * - * @return integer - */ - public function getOutputVerbosity() - { - return $this->verbosityLevel; - } - - /** - * Returns a new output stream. - * - * @return OutputInterface - */ - abstract public function createOutput(); -}