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);
    }
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);
    }
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 ) ; }
Returns the bound resources.

@return ResourceCollection The bound resources.
Returns the bound resources .