◆ __construct()
| __construct |
( |
FactoryInterface |
$factory, |
|
|
SchemaContainerInterface |
$schemaContainer, |
|
|
?\User |
$user |
|
) |
| |
◆ createLinkToResource()
| createLinkToResource |
( |
|
$resource | ) |
|
◆ getAllowedAncludePaths()
| getAllowedAncludePaths |
( |
ContextInterface |
$context | ) |
|
◆ getType()
◆ isAddRelatedLinkInRelationshipByDefault()
| isAddRelatedLinkInRelationshipByDefault |
( |
string |
$relationshipName | ) |
|
◆ isAddSelfLinkInRelationshipByDefault()
| isAddSelfLinkInRelationshipByDefault |
( |
string |
$relationshipName | ) |
|
◆ shouldInclude()
| shouldInclude |
( |
ContextInterface |
$context, |
|
|
string |
$key |
|
) |
| |
- Parameters
-
| ContextInterface | $context | |
| string | $key | |
- Returns
- bool true, if the given relationship should be included in the response
◆ $currentUser
◆ $schemaContainer
◆ TYPE
The documentation for this class was generated from the following file: