프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$data | Tobscure\JsonApi\ElementInterface | null | The data object. |
메소드 | 설명 | |
---|---|---|
__construct ( Tobscure\JsonApi\ElementInterface $data = null ) | Create a new relationship. | |
getData ( ) : Tobscure\JsonApi\ElementInterface | null | Get the data object. | |
setData ( Tobscure\JsonApi\ElementInterface | null $data ) | Set the data object. | |
toArray ( ) : array | Map everything to an array. |
public __construct ( Tobscure\JsonApi\ElementInterface $data = null ) | ||
$data | Tobscure\JsonApi\ElementInterface |
protected ElementInterface,Tobscure\JsonApi|null $data | ||
리턴 | Tobscure\JsonApi\ElementInterface | null |