public function getTags()
    {
        static $cache = array();

        if (array_key_exists($this->path, $cache)) {
            return $cache[$this->path];
        }

        $tags = $this->getClient()->run($this, 'tag');
        $tags = explode("\n", $tags);
        array_pop($tags);

        if (empty($tags[0])) {
            return $cache[$this->path] = null;
        }

        return $cache[$this->path] = $tags;
    }
public function getTags()
    {
        static $cache = array();

        if (array_key_exists($this->path, $cache)) {
            return $cache[$this->path];
        }

        $tags = $this->getClient()->run($this, 'tag');
        $tags = explode("\n", $tags);
        array_pop($tags);

        if (empty($tags[0])) {
            return $cache[$this->path] = null;
        }

        return $cache[$this->path] = $tags;
    }
public function getTags ( ) { static $ cache = array ( ) ; if ( array_key_exists ( $ this -> path , $ cache ) ) { return $ cache [ $ this -> path ] ; } $ tags = $ this -> getClient ( ) -> run ( $ this , 'tag' ) ; $ tags = explode ( "\n" , $ tags ) ; array_pop ( $ tags ) ; if ( empty ( $ tags [ 0 ] ) ) { return $ cache [ $ this -> path ] = null ; } return $ cache [ $ this -> path ] = $ tags ; }
Show a list of the repository tags.

@return array List of tags
Show a list of the repository tags .