| 1 | <?php |
||
| 8 | class YamlTransformer implements DataTransformerInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * The level where you switch to inline YAML. |
||
| 12 | * |
||
| 13 | * @var int |
||
| 14 | */ |
||
| 15 | protected $inlineLevel; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param int $inlineLevel |
||
| 19 | */ |
||
| 20 | public function __construct($inlineLevel = 10) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * {@inheritdoc} |
||
| 27 | */ |
||
| 28 | public function reverseTransform($value) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * {@inheritdoc} |
||
| 35 | */ |
||
| 36 | public function transform($value) |
||
| 40 | } |
||
| 41 |