| 1 | <?php |
||
| 32 | trait DelegatorAwareTrait |
||
| 33 | { |
||
| 34 | /** |
||
| 35 | * the delegator |
||
| 36 | * |
||
| 37 | * @var DelegatorInterface |
||
| 38 | * @access protected |
||
| 39 | */ |
||
| 40 | protected $delegator; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * {@inheritDoc} |
||
| 44 | */ |
||
| 45 | public function setDelegator(DelegatorInterface $delegator) |
||
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritDoc} |
||
| 53 | */ |
||
| 54 | public function hasDelegator()/*# : bool */ |
||
| 58 | |||
| 59 | /** |
||
| 60 | * {@inheritDoc} |
||
| 61 | */ |
||
| 62 | public function getDelegator()/*# : DelegatorInterface */ |
||
| 73 | } |
||
| 74 |