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