Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
WoohooLabs
Yin
JsonApi
Schema
ResourceIdentifier
PHP Class WoohooLabs\Yin\JsonApi\Schema\ResourceIdentifier
Inheritance:
use trait
MetaTrait
Mostra file
Open project: woohoolabs/yin
Class Usage Examples
Public Methods
Method
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
method
public
static
fromArray
(
array
$array
,
WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface
$exceptionFactory
)
$array
array
$exceptionFactory
WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface
getId()
public
method
public
getId
( ) :
string
return
string
getType()
public
method
public
getType
( ) :
string
return
string
setId()
public
method
public
setId
(
mixed
$id
) :
ResourceIdentifier
$id
mixed
return
ResourceIdentifier
setType()
public
method
public
setType
(
mixed
$type
) :
ResourceIdentifier
$type
mixed
return
ResourceIdentifier