| 1 | <?php |
||
| 16 | trait FormatAwareTrait |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var FormatInterface|null |
||
| 20 | */ |
||
| 21 | protected $format = null; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @return FormatInterface|null |
||
| 25 | */ |
||
| 26 | 7 | public function getFormat() |
|
| 30 | |||
| 31 | /** |
||
| 32 | * @param FormatInterface $format |
||
| 33 | * |
||
| 34 | * @return $this |
||
| 35 | */ |
||
| 36 | 9 | public function setFormat(FormatInterface $format) |
|
| 42 | |||
| 43 | /** |
||
| 44 | * @return null|string |
||
| 45 | */ |
||
| 46 | 3 | public function getFormatType() |
|
| 53 | } |
||
| 54 |