protected function callIncludeMethod(Scope $scope, $identifier, $data)
    {
        $parameters = iterator_to_array($scope->getManager()->getIncludeParams($scope->getIdentifier($identifier)));

        return $this->includeResource($identifier, $data, $parameters);
    }
protected function callIncludeMethod(Scope $scope, $identifier, $data)
    {
        $parameters = iterator_to_array($scope->getManager()->getIncludeParams($scope->getIdentifier($identifier)));

        return $this->includeResource($identifier, $data, $parameters);
    }
protected function callIncludeMethod ( Scope $ scope , $ identifier , $ data ) { $ parameters = iterator_to_array ( $ scope -> getManager ( ) -> getIncludeParams ( $ scope -> getIdentifier ( $ identifier ) ) ) ; return $ this -> includeResource ( $ identifier , $ data , $ parameters ) ; }
Overrides Fractal's method for including a relation.

@param  \League\Fractal\Scope $scope
@param  string                $identifier
@param  mixed                 $data
@return \League\Fractal\Resource\ResourceInterface
Overrides Fractal s method for including a relation .