Puli\Repository\Discovery\ResourceBinding::getResources PHP Метод

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

Returns the bound resources.
public getResources ( ) : Puli\Repository\Api\ResourceCollection
Результат Puli\Repository\Api\ResourceCollection The bound resources.
    public function getResources()
    {
        if (null === $this->repo) {
            throw new NotInitializedException('The repository of the resource binding must be set before accessing resources.');
        }
        return $this->repo->find($this->query, $this->language);
    }