Alex\BehatLauncher\Behat\MysqlStorage::getRun PHP Method

getRun() public method

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];
    }