| 1 | <?php |
||
| 26 | trait AdapterTrait |
||
| 27 | { |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Component to process |
||
| 31 | * @var object |
||
| 32 | */ |
||
| 33 | protected $component = null; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Meta options |
||
| 37 | * @var MetaOptions |
||
| 38 | */ |
||
| 39 | protected $options = null; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Metadata |
||
| 43 | * @var Meta |
||
| 44 | */ |
||
| 45 | protected $meta = null; |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Set working component |
||
| 49 | * @param object $component |
||
| 50 | */ |
||
| 51 | public function setComponent(AnnotatedInterface $component = null) |
||
| 55 | |||
| 56 | /** |
||
| 57 | * Set meta options |
||
| 58 | * @param MetaOptions $options |
||
| 59 | */ |
||
| 60 | public function setOptions(MetaOptions $options = null) |
||
| 64 | |||
| 65 | /** |
||
| 66 | * Set metadata |
||
| 67 | * @param Meta $meta |
||
| 68 | */ |
||
| 69 | public function setMeta(Meta $meta) |
||
| 73 | |||
| 74 | } |
||
| 75 |