lib/GitHub/Receiver/Issues/Labels.php
public function getLabel(string $name): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/repos/:owner/:repo/labels/:name',
            $this->getIssues()->getOwner(), $this->getIssues()->getRepo(), $name));
    }
public function getLabel(string $name): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/repos/:owner/:repo/labels/:name',
            $this->getIssues()->getOwner(), $this->getIssues()->getRepo(), $name));
    }
public function getLabel ( string $ name ) : array { return $ this -> getApi ( ) -> request ( $ this -> getApi ( ) -> sprintf ( '/repos/:owner/:repo/labels/:name' , $ this -> getIssues ( ) -> getOwner ( ) , $ this -> getIssues ( ) -> getRepo ( ) , $ name ) ) ; }
Get a single label

@link https://developer.github.com/v3/issues/labels/#get-a-single-label

@param string $name

@return array
Get a single label