| 1 | <?php |
||
| 34 | trait CollectorAwareTrait |
||
| 35 | { |
||
| 36 | /** |
||
| 37 | * collector pool |
||
| 38 | * |
||
| 39 | * @var CollectorInterface[] |
||
| 40 | * @access protected |
||
| 41 | */ |
||
| 42 | protected $collectors = []; |
||
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritDoc} |
||
| 46 | */ |
||
| 47 | public function addCollector(CollectorInterface $collector) |
||
| 60 | |||
| 61 | /** |
||
| 62 | * {@inheritDoc} |
||
| 63 | */ |
||
| 64 | public function addCollectors(array $collectors) |
||
| 71 | |||
| 72 | /** |
||
| 73 | * {@inheritDoc} |
||
| 74 | */ |
||
| 75 | public function getCollectors()/*# : array */ |
||
| 79 | } |
||
| 80 |