src/Sismo/Project.php
public function setRepository($url)
    {
        if (false !== strpos($url, '@')) {
            list($url, $branch) = explode('@', $url);
            $this->branch = $branch;
        }

        $this->repository = $url;

        return $this;
    }
public function setRepository($url)
    {
        if (false !== strpos($url, '@')) {
            list($url, $branch) = explode('@', $url);
            $this->branch = $branch;
        }

        $this->repository = $url;

        return $this;
    }
public function setRepository ( $ url ) { if ( false !== strpos ( $ url , '@' ) ) { list ( $ url , $ branch ) = explode ( '@' , $ url ) ; $ this -> branch = $ branch ; } $ this -> repository = $ url ; return $ this ; }
Sets the project repository URL.

@param string $url The project repository URL
Sets the project repository URL .