src/Sismo/Sismo.php
public function getProject($slug)
    {
        if (!isset($this->projects[$slug])) {
            throw new \InvalidArgumentException(sprintf('Project "%s" does not exist.', $slug));
        }

        return $this->projects[$slug];
    }
public function getProject($slug)
    {
        if (!isset($this->projects[$slug])) {
            throw new \InvalidArgumentException(sprintf('Project "%s" does not exist.', $slug));
        }

        return $this->projects[$slug];
    }
public function getProject ( $ slug ) { if ( ! isset ( $ this -> projects [ $ slug ] ) ) { throw new \ InvalidArgumentException ( sprintf ( 'Project "%s" does not exist.' , $ slug ) ) ; } return $ this -> projects [ $ slug ] ; }
Gets a project.

@param string $slug A project slug
Gets a project .