REBELinBLUE\Deployer\Scripts\Runner::__construct PHP Метод

__construct() публичный Метод

Runner constructor.
public __construct ( string $input, array $tokens = [], boolean $script_source = self::TEMPLATE_INPUT )
$input string
$tokens array
$script_source boolean
    public function __construct($input, array $tokens = [], $script_source = self::TEMPLATE_INPUT)
    {
        $this->process = new Process('');
        $this->process->setTimeout(null);
        if ($script_source === self::TEMPLATE_INPUT) {
            $this->script = with(new Parser())->parseFile($input, $tokens);
        } else {
            $this->script = with(new Parser())->parseString($input, $tokens);
        }
    }