Drest\Manager\Representation::handlePullExposureConfiguration PHP Method

handlePullExposureConfiguration() protected method

Handle a pull requests' exposure configuration (GET)
protected handlePullExposureConfiguration ( RouteMetaData &$route )
$route Drest\Mapping\RouteMetaData (referenced object)
    protected function handlePullExposureConfiguration(RouteMetaData &$route)
    {
        $route->setExpose(ExposeFields::create($route)->configureExposeDepth($this->emr, $this->config->getExposureDepth(), $this->config->getExposureRelationsFetchType())->configurePullRequest($this->config->getExposeRequestOptions(), $this->request)->toArray());
    }