PHP Class Neomerx\JsonApi\Schema\ResourceIdentifierSchemaAdapter

Inheritance: implements Neomerx\JsonApi\Contracts\Schema\SchemaProviderInterface
Datei anzeigen Open project: neomerx/json-api

Public Methods

Method Description
__construct ( Neomerx\JsonApi\Contracts\Factories\FactoryInterface $factory, Neomerx\JsonApi\Contracts\Schema\SchemaProviderInterface $schema )
createResourceObject ( $resource, $isOriginallyArrayed, $attributeKeysFilter = null )
getAttributes ( $resource )
getId ( $resource )
getIncludePaths ( )
getIncludedResourceLinks ( $resource )
getInclusionMeta ( $resource )
getLinkageMeta ( $resource )
getPrimaryMeta ( $resource )
getRelationshipObjectIterator ( $resource, $isPrimary, array $includeRelationships )
getRelationshipRelatedLink ( $resource, $name, $meta = null, $treatAsHref = false )
getRelationshipSelfLink ( $resource, $name, $meta = null, $treatAsHref = false )
getRelationshipsInclusionMeta ( $resource )
getRelationshipsPrimaryMeta ( $resource )
getResourceLinks ( $resource )
getResourceType ( )
getSelfSubLink ( $resource )
getSelfSubUrl ( $resource = null )
isShowAttributesInIncluded ( )
isShowRelationshipsInIncluded ( )

Method Details

__construct() public method

public __construct ( Neomerx\JsonApi\Contracts\Factories\FactoryInterface $factory, Neomerx\JsonApi\Contracts\Schema\SchemaProviderInterface $schema )
$factory Neomerx\JsonApi\Contracts\Factories\FactoryInterface
$schema Neomerx\JsonApi\Contracts\Schema\SchemaProviderInterface

createResourceObject() public method

public createResourceObject ( $resource, $isOriginallyArrayed, $attributeKeysFilter = null )

getAttributes() public method

public getAttributes ( $resource )

getId() public method

public getId ( $resource )

getIncludePaths() public method

public getIncludePaths ( )

getInclusionMeta() public method

public getInclusionMeta ( $resource )

getLinkageMeta() public method

public getLinkageMeta ( $resource )

getPrimaryMeta() public method

public getPrimaryMeta ( $resource )

getRelationshipObjectIterator() public method

public getRelationshipObjectIterator ( $resource, $isPrimary, array $includeRelationships )
$includeRelationships array

getRelationshipsInclusionMeta() public method

public getRelationshipsInclusionMeta ( $resource )

getRelationshipsPrimaryMeta() public method

public getRelationshipsPrimaryMeta ( $resource )

getResourceType() public method

public getResourceType ( )

getSelfSubUrl() public method

public getSelfSubUrl ( $resource = null )

isShowAttributesInIncluded() public method

isShowRelationshipsInIncluded() public method