PHP Class NilPortugues\Laravel5\JsonApi\Providers\Laravel51Provider

Datei anzeigen Open project: nilportugues/laravel5-jsonapi

Public Methods

Method Description
provider ( )

Protected Methods

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 )

Method Details

calculateRoute() protected method

protected calculateRoute ( array $value ) : mixed | string
$value array
return mixed | string

parseRoutes() protected method

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

provider() public method

public provider ( )

setJsonApiRelationships() protected method

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

setUrlWithReflection() protected method

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