| 1 | <?php |
||
| 13 | class BooleanParser implements ValueParserInterface |
||
| 14 | { |
||
| 15 | const NAME = 'boolean'; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * {@inheritdoc} |
||
| 19 | */ |
||
| 20 | public function getName() |
||
| 24 | |||
| 25 | /** |
||
| 26 | * {@inheritdoc} |
||
| 27 | */ |
||
| 28 | public function toObjectValue($value, $type, \ReflectionProperty $property, $object) |
||
| 52 | |||
| 53 | /** |
||
| 54 | * {@inheritdoc} |
||
| 55 | */ |
||
| 56 | public function toArrayValue($value, $type, \ReflectionProperty $property, $object) |
||
| 60 | } |
||
| 61 |