public function fetchContent()
    {
        $response = $this->executeJson(
            sprintf(
                'project/%s/resource/%s/content/',
                $this->ensureParameter('project'),
                $this->ensureParameter('slug')
            )
        );

        $this->setContent($response['content']);
        $this->setMimetype($response['mimetype']);

        return $this;
    }
public function fetchContent()
    {
        $response = $this->executeJson(
            sprintf(
                'project/%s/resource/%s/content/',
                $this->ensureParameter('project'),
                $this->ensureParameter('slug')
            )
        );

        $this->setContent($response['content']);
        $this->setMimetype($response['mimetype']);

        return $this;
    }
public function fetchContent ( ) { $ response = $ this -> executeJson ( sprintf ( 'project/%s/resource/%s/content/' , $ this -> ensureParameter ( 'project' ) , $ this -> ensureParameter ( 'slug' ) ) ) ; $ this -> setContent ( $ response [ 'content' ] ) ; $ this -> setMimetype ( $ response [ 'mimetype' ] ) ; return $ this ; }
Fetch the file content.

@return \CyberSpectrum\Transifex\TranslationResource
Fetch the file content .