DependencyTreeNode
in package
Table of Contents
- $data : mixed
- getDepth() : null
- getId() : bool
- getOrder() : int
- getProvides() : bool|array<string|int, mixed>
- getRequires() : bool|array<string|int, mixed>
- getTreeNumber() : null
- removeCircularDependency() : bool
- Removes circular dependencies within the same node. Must be run after both requires and provides are defined.
- setDepth() : bool
- setId() : bool
- setOrder() : bool
- setProvides() : bool
- setRequires() : bool
- setTreeNumber() : bool
Properties
$data
protected
mixed
$data
Methods
getDepth()
public
getDepth() : null
Return values
null —getId()
public
getId() : bool
Return values
bool —getOrder()
public
getOrder() : int
Return values
int —getProvides()
public
getProvides() : bool|array<string|int, mixed>
Return values
bool|array<string|int, mixed> —getRequires()
public
getRequires() : bool|array<string|int, mixed>
Return values
bool|array<string|int, mixed> —getTreeNumber()
public
getTreeNumber() : null
Return values
null —removeCircularDependency()
Removes circular dependencies within the same node. Must be run after both requires and provides are defined.
public
removeCircularDependency() : bool
Return values
bool —setDepth()
public
setDepth( $arg) : bool
Parameters
Return values
bool —setId()
public
setId(string $id) : bool
Parameters
- $id : string
-
UUID
Return values
bool —setOrder()
public
setOrder( $order) : bool
Parameters
Return values
bool —setProvides()
public
setProvides( $arr) : bool
Parameters
Return values
bool —setRequires()
public
setRequires( $arr) : bool
Parameters
Return values
bool —setTreeNumber()
public
setTreeNumber( $treenumber) : bool