PHP Class NilPortugues\Laravel5\JsonApi\Providers\Laravel51Provider

Afficher le fichier Open project: nilportugues/laravel5-jsonapi

Méthodes publiques

Méthode Description
provider ( )

Méthodes protégées

Méthode 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 )

Method Details

calculateRoute() protected méthode

protected calculateRoute ( array $value ) : mixed | string
$value array
Résultat mixed | string

parseRoutes() protected méthode

protected parseRoutes ( NilPortugues\Laravel5\JsonApi\Mapper\Mapper $mapper ) : NilPortugues\Laravel5\JsonApi\Mapper\Mapper
$mapper NilPortugues\Laravel5\JsonApi\Mapper\Mapper
Résultat NilPortugues\Laravel5\JsonApi\Mapper\Mapper

provider() public méthode

public provider ( )

setJsonApiRelationships() protected méthode

protected setJsonApiRelationships ( ReflectionClass $mappingClass, $mapping )
$mappingClass ReflectionClass
$mapping

setUrlWithReflection() protected méthode

protected setUrlWithReflection ( NilPortugues\Api\Mapping\Mapping $mapping, ReflectionClass $mappingClass, string $property )
$mapping NilPortugues\Api\Mapping\Mapping
$mappingClass ReflectionClass
$property string