getVersions() публичный Метод

Returns all versions of a resource.
public getVersions ( string $path, Puli\Repository\Api\ResourceRepository $repository = null ) : VersionList
$path string The Puli path to look for.
$repository Puli\Repository\Api\ResourceRepository The repository to attach the resources to.
Результат VersionList The versions of the resource.
 /**
  * {@inheritdoc}
  */
 public function getVersions($path)
 {
     if (null === $this->changeStream) {
         return parent::getVersions($path);
     }
     return $this->changeStream->getVersions($path, $this);
 }