26 lines
354 B
PHP
Executable File
26 lines
354 B
PHP
Executable File
<?php
|
|
|
|
class Role extends Entity {
|
|
|
|
protected static
|
|
$type,
|
|
$subType,
|
|
$rootType,
|
|
$parentType = 'Provider';
|
|
|
|
|
|
public function getSource () {
|
|
|
|
return $this->getParent()->getChild('Model', $this->data['source']);
|
|
|
|
}
|
|
|
|
public function getTarget () {
|
|
|
|
return $this->getParent()->getChild('Model', $this->data['target']);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|