Alex\BehatLauncher\Behat\MysqlStorage::getRun PHP Метод

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

public getRun ( $id )
    public function getRun($id)
    {
        $runs = $this->getRunsByWhere('R.id = :id', array('id' => $id));
        if (count($runs) == 0) {
            throw new \InvalidArgumentException(sprintf('No run found with ID "%s".', $id));
        }
        return $runs[0];
    }