| 1 | <?php |
||
| 8 | class CurrencyType extends Type |
||
| 9 | { |
||
| 10 | const NAME = 'currency'; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @return string |
||
| 14 | */ |
||
| 15 | public function getName() |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param mixed $value |
||
| 22 | * |
||
| 23 | * @return null|string |
||
| 24 | */ |
||
| 25 | public function convertToDatabaseValue($value) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param string $value |
||
| 36 | * |
||
| 37 | * @return string|Currency |
||
| 38 | */ |
||
| 39 | public function convertToPHPValue($value) |
||
| 47 | |||
| 48 | public function closureToPHP() |
||
| 52 | } |
||
| 53 |