PHP Class Neomerx\JsonApi\Schema\ResourceObject

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

Protected Properties

Property Type Description
$attributeKeysFilter int>\arraynull
$resource object
$schema Neomerx\JsonApi\Contracts\Schema\SchemaProviderInterface

Public Methods

Method Description
__construct ( Neomerx\JsonApi\Contracts\Schema\SchemaProviderInterface $schema, object $resource, boolean $isInArray, array $attributeKeysFilter = null )
getAttributes ( )
getId ( )
getIncludedResourceLinks ( )
getInclusionMeta ( )
getLinkageMeta ( )
getPrimaryMeta ( )
getRelationshipsInclusionMeta ( )
getRelationshipsPrimaryMeta ( )
getResourceLinks ( )
getSelfSubLink ( )
getType ( )
isInArray ( )
isShowAttributesInIncluded ( )

Private Methods

Method Description
checkInput ( object $resource, boolean $isInArray )

Method Details

__construct() public method

public __construct ( Neomerx\JsonApi\Contracts\Schema\SchemaProviderInterface $schema, object $resource, boolean $isInArray, array $attributeKeysFilter = null )
$schema Neomerx\JsonApi\Contracts\Schema\SchemaProviderInterface
$resource object
$isInArray boolean
$attributeKeysFilter array

getAttributes() public method

public getAttributes ( )

getId() public method

public getId ( )

getInclusionMeta() public method

public getInclusionMeta ( )

getLinkageMeta() public method

public getLinkageMeta ( )

getPrimaryMeta() public method

public getPrimaryMeta ( )

getRelationshipsInclusionMeta() public method

getRelationshipsPrimaryMeta() public method

getType() public method

public getType ( )

isInArray() public method

public isInArray ( )

isShowAttributesInIncluded() public method

Property Details

$attributeKeysFilter protected_oe property

protected array|null $attributeKeysFilter
return int>\arraynull

$resource protected_oe property

protected object $resource
return object

$schema protected_oe property

protected SchemaProviderInterface,Neomerx\JsonApi\Contracts\Schema $schema
return Neomerx\JsonApi\Contracts\Schema\SchemaProviderInterface