PHP 클래스 WoohooLabs\Yin\JsonApi\Transformer\Transformation

파일 보기 프로젝트 열기: woohoolabs/yin 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$basePath string
$data WoohooLabs\Yin\JsonApi\Schema\Data\DataInterface
$exceptionFactory WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface
$fetchedRelationship string | null
$request WoohooLabs\Yin\JsonApi\Request\RequestInterface

공개 메소드들

메소드 설명
__construct ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, WoohooLabs\Yin\JsonApi\Schema\Data\DataInterface $data, WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface $exceptionFactory, string $basePath )
getBasePath ( ) : string
getData ( ) : WoohooLabs\Yin\JsonApi\Schema\Data\DataInterface
getExceptionFactory ( ) : WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface
getFetchedRelationship ( ) : string
getRequest ( ) : WoohooLabs\Yin\JsonApi\Request\RequestInterface
setFetchedRelationship ( string $fetchedRelationship )

메소드 상세

__construct() 공개 메소드

public __construct ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, WoohooLabs\Yin\JsonApi\Schema\Data\DataInterface $data, WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface $exceptionFactory, string $basePath )
$request WoohooLabs\Yin\JsonApi\Request\RequestInterface
$data WoohooLabs\Yin\JsonApi\Schema\Data\DataInterface
$exceptionFactory WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface
$basePath string

getBasePath() 공개 메소드

public getBasePath ( ) : string
리턴 string

getData() 공개 메소드

public getData ( ) : WoohooLabs\Yin\JsonApi\Schema\Data\DataInterface
리턴 WoohooLabs\Yin\JsonApi\Schema\Data\DataInterface

getExceptionFactory() 공개 메소드

public getExceptionFactory ( ) : WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface
리턴 WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface

getFetchedRelationship() 공개 메소드

public getFetchedRelationship ( ) : string
리턴 string

getRequest() 공개 메소드

public getRequest ( ) : WoohooLabs\Yin\JsonApi\Request\RequestInterface
리턴 WoohooLabs\Yin\JsonApi\Request\RequestInterface

setFetchedRelationship() 공개 메소드

public setFetchedRelationship ( string $fetchedRelationship )
$fetchedRelationship string

프로퍼티 상세

$basePath 공개적으로 프로퍼티

public string $basePath
리턴 string

$data 공개적으로 프로퍼티

public DataInterface,WoohooLabs\Yin\JsonApi\Schema\Data $data
리턴 WoohooLabs\Yin\JsonApi\Schema\Data\DataInterface

$exceptionFactory 공개적으로 프로퍼티

public ExceptionFactoryInterface,WoohooLabs\Yin\JsonApi\Exception $exceptionFactory
리턴 WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface

$fetchedRelationship 공개적으로 프로퍼티

public string|null $fetchedRelationship
리턴 string | null

$request 공개적으로 프로퍼티

public RequestInterface,WoohooLabs\Yin\JsonApi\Request $request
리턴 WoohooLabs\Yin\JsonApi\Request\RequestInterface