private static function isLinkOnlyRelation(
        \ReflectionClass $class,
        $name
    )
    {
        $getterName = 'get' . Inflector::camelize($name);

        return !$class->hasMethod($getterName)
            || !Reflection::isMethodGetter($class->getMethod($getterName));
    }
private static function isLinkOnlyRelation(
        \ReflectionClass $class,
        $name
    )
    {
        $getterName = 'get' . Inflector::camelize($name);

        return !$class->hasMethod($getterName)
            || !Reflection::isMethodGetter($class->getMethod($getterName));
    }
private static function isLinkOnlyRelation ( \ ReflectionClass $ class , $ name ) { $ getterName = 'get' . Inflector :: camelize ( $ name ) ; return ! $ class -> hasMethod ( $ getterName ) || ! Reflection :: isMethodGetter ( $ class -> getMethod ( $ getterName ) ) ; }
Para relaciones que no van en el campo "links" del resource object.
@param \ReflectionClass $class
@param string $name
@return boolean
@see http://jsonapi.org/format/#document-structure-url-templates
Para relaciones que no van en el campo links del resource object .