Detailed Description
PathDescription describes a path between two types.
Definition at line 18 of file PathDescription.php.
Public Member Functions | |
__construct (array $path) | |
getStartType () | |
getStartRole () | |
getEndType () | |
getEndRole () | |
getPath () | |
getPathLength () | |
Protected Attributes | |
$startType = '' | |
$startRole = '' | |
$endType = '' | |
$endRole = '' | |
$path = null | |
Constructor & Destructor Documentation
◆ __construct()
__construct | ( | array | $path | ) |
Constructor.
- Parameters
-
$path Array of RelationDescription instances
Definition at line 31 of file PathDescription.php.
Member Function Documentation
◆ getStartType()
getStartType | ( | ) |
Get the PersistentObject type at the start point.
- Returns
- String
Definition at line 49 of file PathDescription.php.
◆ getStartRole()
getStartRole | ( | ) |
Get the role name at the start point.
- Returns
- String
Definition at line 57 of file PathDescription.php.
◆ getEndType()
getEndType | ( | ) |
Get the PersistentObject type at the end point.
- Returns
- String
Definition at line 65 of file PathDescription.php.
◆ getEndRole()
getEndRole | ( | ) |
Get the role name at the end point.
- Returns
- String
Definition at line 73 of file PathDescription.php.
◆ getPath()
getPath | ( | ) |
Get the path.
- Returns
- Array of RelationDesctription instances
Definition at line 81 of file PathDescription.php.
◆ getPathLength()
getPathLength | ( | ) |
Member Data Documentation
◆ $startType
|
protected |
Definition at line 20 of file PathDescription.php.
◆ $startRole
|
protected |
Definition at line 21 of file PathDescription.php.
◆ $endType
|
protected |
Definition at line 22 of file PathDescription.php.
◆ $endRole
|
protected |
Definition at line 23 of file PathDescription.php.
◆ $path
|
protected |
Definition at line 25 of file PathDescription.php.