PHP 클래스 WoohooLabs\Yin\JsonApi\Schema\ResourceIdentifier

상속: use trait MetaTrait
파일 보기 프로젝트 열기: woohoolabs/yin 1 사용 예제들

공개 메소드들

메소드 설명
fromArray ( array $array, WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface $exceptionFactory )
getId ( ) : string
getType ( ) : string
setId ( mixed $id ) : ResourceIdentifier
setType ( mixed $type ) : ResourceIdentifier

메소드 상세

fromArray() 공개 정적인 메소드

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

getId() 공개 메소드

public getId ( ) : string
리턴 string

getType() 공개 메소드

public getType ( ) : string
리턴 string

setId() 공개 메소드

public setId ( mixed $id ) : ResourceIdentifier
$id mixed
리턴 ResourceIdentifier

setType() 공개 메소드

public setType ( mixed $type ) : ResourceIdentifier
$type mixed
리턴 ResourceIdentifier