for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/* this file is part of pipelines */
namespace Ktomk\Pipelines\Runner;
/**
* Runner options parameter object
*/
class RunOpts
{
* @var string
private $prefix;
private $binaryPackage;
* Static factory method
*
* @param string $prefix
* @param string $binaryPackage package name or path to binary (string)
* @return RunOpts
public static function create($prefix, $binaryPackage = null)
return new self($prefix, $binaryPackage);
}
* RunOpts constructor.
* NOTE: All run options are optional by design (pass NULL).
public function __construct($prefix = null, $binaryPackage = null)
$this->prefix = $prefix;
$this->binaryPackage = $binaryPackage;
public function setPrefix($prefix)
* The prefix is used when creating containers for the container name.
* See --prefix option.
* @return string
public function getPrefix()
return $this->prefix;
* @param string $binaryPackage
public function setBinaryPackage($binaryPackage)
public function getBinaryPackage()
return $this->binaryPackage;