Property | Type | Description | |
---|---|---|---|
$type | string | The type. |
Method | Description | |
---|---|---|
getAttributes ( $model, array $fields = null ) | ||
getId ( $model ) | ||
getLinks ( $model ) | ||
getMeta ( $model ) | ||
getRelationship ( $model, $name ) | ||
getType ( $model ) |
Method | Description | |
---|---|---|
getRelationshipMethodName ( string $name ) : string | Get the serializer method name for the given relationship. |