src/Model/Git/Ref.php
public static function fromName($refName, Project $project, ClientInterface $client)
    {
        $url = $project->getUri() . '/git/refs';

        return static::get($refName, $url, $client);
    }
public static function fromName($refName, Project $project, ClientInterface $client)
    {
        $url = $project->getUri() . '/git/refs';

        return static::get($refName, $url, $client);
    }
public static function fromName ( $ refName , Project $ project , ClientInterface $ client ) { $ url = $ project -> getUri ( ) . '/git/refs' ; return static :: get ( $ refName , $ url , $ client ) ; }
Get a Ref object in a project.

@param string          $refName
@param Project         $project
@param ClientInterface $client

@return static|false
Get a Ref object in a project .