public function resolveRepository($resource, array $parameters = [], $version = null)
    {
        return $this->resolve('repository', $resource, $parameters, $version);
    }
public function resolveRepository($resource, array $parameters = [], $version = null)
    {
        return $this->resolve('repository', $resource, $parameters, $version);
    }
public function resolveRepository ( $ resource , array $ parameters = [ ] , $ version = null ) { return $ this -> resolve ( 'repository' , $ resource , $ parameters , $ version ) ; }
resolves a repository

@param string $resource
@param array $parameters
@param null|string $version
@return \Ipunkt\LaravelJsonApi\Contracts\Repositories\JsonApiRepository|RelatedRepository
@throws ResourceNotDefinedException when no repository configured
resolves a repository