Robo\Task\Testing\PHPUnit::__construct PHP Метод

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

public __construct ( $pathToPhpUnit = null )
    public function __construct($pathToPhpUnit = null)
    {
        $this->command = $pathToPhpUnit;
        if (!$this->command) {
            $this->command = $this->findExecutablePhar('phpunit');
        }
        if (!$this->command) {
            throw new \Robo\Exception\TaskException(__CLASS__, "Neither local phpunit nor global composer installation not found");
        }
    }