Puli\Repository\Resource\GenericResource::getVersions PHP 메소드

getVersions() 공개 메소드

public getVersions ( )
    public function getVersions()
    {
        if (!$this->getRepository()) {
            return new VersionList($this->getRepositoryPath(), array($this));
        }
        return $this->getRepository()->getVersions($this->getRepositoryPath());
    }