1 | <?php |
||
33 | trait DelegatorAwareTrait |
||
34 | { |
||
35 | /** |
||
36 | * the delegator |
||
37 | * |
||
38 | * @var DelegatorInterface |
||
39 | * @access protected |
||
40 | */ |
||
41 | protected $delegator; |
||
42 | |||
43 | /** |
||
44 | * {@inheritDoc} |
||
45 | */ |
||
46 | public function setDelegator(DelegatorInterface $delegator = null) |
||
51 | |||
52 | /** |
||
53 | * {@inheritDoc} |
||
54 | */ |
||
55 | public function hasDelegator()/*# : bool */ |
||
59 | |||
60 | /** |
||
61 | * {@inheritDoc} |
||
62 | */ |
||
63 | public function getDelegator( |
||
79 | |||
80 | /** |
||
81 | * Is delegatorAware recursively |
||
82 | * |
||
83 | * @param bool $recursive |
||
84 | * @param object $object |
||
85 | * @access protected |
||
86 | */ |
||
87 | protected function isRecursiveDelegator( |
||
95 | } |
||
96 |