PHP Class WoohooLabs\Yin\JsonApi\Document\AbstractCollectionDocument

Inheritance: extends AbstractSuccessfulDocument
Afficher le fichier Open project: woohoolabs/yin

Protected Properties

Свойство Type Description
$transformer WoohooLabs\Yin\JsonApi\Transformer\ResourceTransformerInterface

Méthodes publiques

Méthode Description
__construct ( WoohooLabs\Yin\JsonApi\Transformer\ResourceTransformerInterface $transformer )

Méthodes protégées

Méthode Description
createData ( )
fillData ( Transformation $transformation )
getItems ( )
getRelationshipContent ( $relationshipName, Transformation $transformation, array $additionalMeta = [] )
hasItems ( )

Method Details

__construct() public méthode

public __construct ( WoohooLabs\Yin\JsonApi\Transformer\ResourceTransformerInterface $transformer )
$transformer WoohooLabs\Yin\JsonApi\Transformer\ResourceTransformerInterface

createData() protected méthode

protected createData ( )

fillData() protected méthode

protected fillData ( Transformation $transformation )
$transformation WoohooLabs\Yin\JsonApi\Transformer\Transformation

getItems() protected méthode

protected getItems ( )

getRelationshipContent() protected méthode

protected getRelationshipContent ( $relationshipName, Transformation $transformation, array $additionalMeta = [] )
$transformation WoohooLabs\Yin\JsonApi\Transformer\Transformation
$additionalMeta array

hasItems() protected méthode

protected hasItems ( )

Property Details

$transformer protected_oe property

protected ResourceTransformerInterface,WoohooLabs\Yin\JsonApi\Transformer $transformer
Résultat WoohooLabs\Yin\JsonApi\Transformer\ResourceTransformerInterface