| 1 | <?php |
||
| 26 | trait FormatterAwareTrait |
||
| 27 | { |
||
| 28 | /** |
||
| 29 | * formatter |
||
| 30 | * |
||
| 31 | * @var callable |
||
| 32 | * @access protected |
||
| 33 | */ |
||
| 34 | protected $formatter; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritDoc} |
||
| 38 | */ |
||
| 39 | public function setFormatter(callable $formatter = null) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritDoc} |
||
| 46 | */ |
||
| 47 | public function getFormatter()/*# : callable */ |
||
| 54 | } |
||
| 55 |