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