FlexRelationshipsTrait
Trait FlexRelationshipsTrait
Table of Contents
Properties
Methods
- getRelationship() : RelationshipInterface|null
- getRelationships() : Relationships
- buildFlexIdentifierList() : array<string|int, mixed>
- resetRelationships() : void
Properties
$_relationships
private
RelationshipsInterface|null
$_relationships
= null
Methods
getRelationship()
public
getRelationship(string $name) : RelationshipInterface|null
Parameters
- $name : string
Return values
RelationshipInterface|nullgetRelationships()
public
getRelationships() : Relationships
Return values
RelationshipsbuildFlexIdentifierList()
protected
buildFlexIdentifierList(iterable<string|int, mixed> $collection) : array<string|int, mixed>
Parameters
- $collection : iterable<string|int, mixed>
Return values
array<string|int, mixed>resetRelationships()
protected
resetRelationships() : void