RelationshipTrait
Trait RelationshipTrait
Tags
Table of Contents
Properties
- $modified : bool
- $name : string
- $options : array<string|int, mixed>
- $parent : IdentifierInterface
- $type : string
Methods
- check() : void
- count() : int
- getName() : string
- getParent() : IdentifierInterface
- getType() : string
- hasIdentifier() : bool
- isModified() : bool
- checkIdentifier() : IdentifierInterface
- parseOptions() : void
Properties
$modified
protected
bool
$modified
= false
$name
protected
string
$name
$options
protected
array<string|int, mixed>
$options
$parent
protected
IdentifierInterface
$parent
$type
protected
string
$type
Methods
check()
public
check() : void
Tags
count()
public
abstract count() : int
Tags
Return values
intgetName()
public
getName() : string
Tags
Return values
stringgetParent()
public
getParent() : IdentifierInterface
Tags
Return values
IdentifierInterfacegetType()
public
getType() : string
Tags
Return values
stringhasIdentifier()
public
hasIdentifier(IdentifierInterface $identifier) : bool
Parameters
- $identifier : IdentifierInterface
Tags
Return values
boolisModified()
public
isModified() : bool
Tags
Return values
boolcheckIdentifier()
private
checkIdentifier(IdentifierInterface $identifier) : IdentifierInterface
Parameters
- $identifier : IdentifierInterface
Return values
IdentifierInterfaceparseOptions()
private
parseOptions(array<string|int, mixed> $options) : void
Parameters
- $options : array<string|int, mixed>