Documentation

RelationshipInterface extends Countable, IteratorAggregate, JsonSerializable, Serializable

Interface Relationship

Tags
template
template
extends

Table of Contents

Methods

addIdentifier()  : bool
getCardinality()  : string
getIterator()  : iterable<string|int, T>
getName()  : string
getParent()  : P
getType()  : string
has()  : bool
hasIdentifier()  : bool
isModified()  : bool
removeIdentifier()  : bool

Methods

addIdentifier()

public addIdentifier(T $identifier) : bool
Parameters
$identifier : T
Return values
bool

getIterator()

public getIterator() : iterable<string|int, T>
Return values
iterable<string|int, T>

has()

public has(string $id[, string|null $type = null ]) : bool
Parameters
$id : string
$type : string|null = null
Tags
phpstan-pure
Return values
bool

hasIdentifier()

public hasIdentifier(T $identifier) : bool
Parameters
$identifier : T
Tags
phpstan-pure
Return values
bool

removeIdentifier()

public removeIdentifier([T|null $identifier = null ]) : bool
Parameters
$identifier : T|null = null
Return values
bool

        
On this page

Search results