PHP Class WoohooLabs\Yin\JsonApi\Transformer\Transformation

Datei anzeigen Open project: woohoolabs/yin Class Usage Examples

Public Properties

Property Type Description
$basePath string
$data WoohooLabs\Yin\JsonApi\Schema\Data\DataInterface
$exceptionFactory WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface
$fetchedRelationship string | null
$request WoohooLabs\Yin\JsonApi\Request\RequestInterface

Public Methods

Method Description
__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 )

Method Details

__construct() public method

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 method

public getBasePath ( ) : string
return string

getData() public method

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

getExceptionFactory() public method

public getExceptionFactory ( ) : WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface
return WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface

getFetchedRelationship() public method

public getFetchedRelationship ( ) : string
return string

getRequest() public method

public getRequest ( ) : WoohooLabs\Yin\JsonApi\Request\RequestInterface
return WoohooLabs\Yin\JsonApi\Request\RequestInterface

setFetchedRelationship() public method

public setFetchedRelationship ( string $fetchedRelationship )
$fetchedRelationship string

Property Details

$basePath public_oe property

public string $basePath
return string

$data public_oe property

public DataInterface,WoohooLabs\Yin\JsonApi\Schema\Data $data
return WoohooLabs\Yin\JsonApi\Schema\Data\DataInterface

$exceptionFactory public_oe property

public ExceptionFactoryInterface,WoohooLabs\Yin\JsonApi\Exception $exceptionFactory
return WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface

$fetchedRelationship public_oe property

public string|null $fetchedRelationship
return string | null

$request public_oe property

public RequestInterface,WoohooLabs\Yin\JsonApi\Request $request
return WoohooLabs\Yin\JsonApi\Request\RequestInterface