| 1 | <?php |
||
| 5 | abstract class Converter |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Get item value without quotes. |
||
| 9 | * |
||
| 10 | * @param array $item Item |
||
| 11 | * @param string $key Value key |
||
| 12 | * |
||
| 13 | * @return mixed |
||
| 14 | */ |
||
| 15 | 171 | protected function getValueWithoutQuotes($item, $key = 'base_expr') |
|
| 29 | |||
| 30 | /** |
||
| 31 | * Get item value without quotes. |
||
| 32 | * |
||
| 33 | * @param string $value Value |
||
| 34 | * |
||
| 35 | * @return mixed |
||
| 36 | */ |
||
| 37 | 78 | protected function getValueWithoutInvertedCommas($value) |
|
| 45 | |||
| 46 | /** |
||
| 47 | * @param $name |
||
| 48 | * @param $args |
||
| 49 | * |
||
| 50 | * @return array |
||
| 51 | */ |
||
| 52 | 174 | protected function format($name, array $args = null) |
|
| 61 | } |
||
| 62 |