Method | Description | |
---|---|---|
provider ( ) |
Method | Description | |
---|---|---|
calculateRoute ( array $value ) : mixed | string | ||
parseRoutes ( NilPortugues\Laravel5\JsonApi\Mapper\Mapper $mapper ) : NilPortugues\Laravel5\JsonApi\Mapper\Mapper | ||
setJsonApiRelationships ( ReflectionClass $mappingClass, $mapping ) | ||
setUrlWithReflection ( NilPortugues\Api\Mapping\Mapping $mapping, ReflectionClass $mappingClass, string $property ) |
protected parseRoutes ( NilPortugues\Laravel5\JsonApi\Mapper\Mapper $mapper ) : NilPortugues\Laravel5\JsonApi\Mapper\Mapper | ||
$mapper | NilPortugues\Laravel5\JsonApi\Mapper\Mapper | |
return | NilPortugues\Laravel5\JsonApi\Mapper\Mapper |
protected setJsonApiRelationships ( ReflectionClass $mappingClass, $mapping ) | ||
$mappingClass | ReflectionClass | |
$mapping |
protected setUrlWithReflection ( NilPortugues\Api\Mapping\Mapping $mapping, ReflectionClass $mappingClass, string $property ) | ||
$mapping | NilPortugues\Api\Mapping\Mapping | |
$mappingClass | ReflectionClass | |
$property | string |