PHP Class WoohooLabs\Yin\JsonApi\Schema\ResourceIdentifier

Inheritance: use trait MetaTrait
Afficher le fichier Open project: woohoolabs/yin Class Usage Examples

Méthodes publiques

Méthode Description
fromArray ( array $array, WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface $exceptionFactory )
getId ( ) : string
getType ( ) : string
setId ( mixed $id ) : ResourceIdentifier
setType ( mixed $type ) : ResourceIdentifier

Method Details

fromArray() public static méthode

public static fromArray ( array $array, WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface $exceptionFactory )
$array array
$exceptionFactory WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface

getId() public méthode

public getId ( ) : string
Résultat string

getType() public méthode

public getType ( ) : string
Résultat string

setId() public méthode

public setId ( mixed $id ) : ResourceIdentifier
$id mixed
Résultat ResourceIdentifier

setType() public méthode

public setType ( mixed $type ) : ResourceIdentifier
$type mixed
Résultat ResourceIdentifier