public function getResources()
    {
        $data = $this->executeJson(sprintf('project/%s/resources/', $this->ensureParameter('slug')));

        $resources = array();
        foreach ($data as $entry) {
            $resource = new TranslationResource($this->getTransport());
            $resource->setProject($this);
            $resource->setFromResult($entry);
            $resources[$resource->getSlug()] = $resource;
        }

        return $resources;
    }
public function getResources()
    {
        $data = $this->executeJson(sprintf('project/%s/resources/', $this->ensureParameter('slug')));

        $resources = array();
        foreach ($data as $entry) {
            $resource = new TranslationResource($this->getTransport());
            $resource->setProject($this);
            $resource->setFromResult($entry);
            $resources[$resource->getSlug()] = $resource;
        }

        return $resources;
    }
public function getResources ( ) { $ data = $ this -> executeJson ( sprintf ( 'project/%s/resources/' , $ this -> ensureParameter ( 'slug' ) ) ) ; $ resources = array ( ) ; foreach ( $ data as $ entry ) { $ resource = new TranslationResource ( $ this -> getTransport ( ) ) ; $ resource -> setProject ( $ this ) ; $ resource -> setFromResult ( $ entry ) ; $ resources [ $ resource -> getSlug ( ) ] = $ resource ; } return $ resources ; }
Retrieve all resources of this project.

@return Resource[]
Retrieve all resources of this project .