Stud.IP  5.4
SlimRoute Class Reference
Inheritance diagram for SlimRoute:
SchemaProvider

Public Member Functions

 getId ($route)
 
 getAttributes ($route, ContextInterface $context)
 
 getRelationships ($user, ContextInterface $context)
 
 getLinks ($resource)
 
- Public Member Functions inherited from SchemaProvider
 __construct (FactoryInterface $factory, SchemaContainerInterface $schemaContainer, ?\User $user)
 
 getType ()
 
 isAddSelfLinkInRelationshipByDefault (string $relationshipName)
 
 isAddRelatedLinkInRelationshipByDefault (string $relationshipName)
 
 createLinkToResource ($resource)
 
 shouldInclude (ContextInterface $context, string $key)
 
 getAllowedAncludePaths (ContextInterface $context)
 

Data Fields

const TYPE = 'slim-routes'
 
- Data Fields inherited from SchemaProvider
const TYPE = ''
 

Additional Inherited Members

- Protected Attributes inherited from SchemaProvider
 $schemaContainer
 
 $currentUser
 

Member Function Documentation

◆ getAttributes()

getAttributes (   $route,
ContextInterface  $context 
)

◆ getId()

getId (   $route)

◆ getLinks()

getLinks (   $resource)

◆ getRelationships()

getRelationships (   $user,
ContextInterface  $context 
)

Field Documentation

◆ TYPE

const TYPE = 'slim-routes'

The documentation for this class was generated from the following file: