1 | <?php |
||
5 | class Strings |
||
6 | { |
||
7 | /** |
||
8 | * Decodes a T_CONSTANT_ENCAPSED_STRING string. |
||
9 | * |
||
10 | * @param string $value |
||
11 | * |
||
12 | * @return string |
||
13 | */ |
||
14 | public static function fromPhp($value) |
||
56 | |||
57 | /** |
||
58 | * Convert a string to its PO representation. |
||
59 | * |
||
60 | * @param string $value |
||
61 | * |
||
62 | * @return string |
||
63 | */ |
||
64 | public static function toPo($value) |
||
76 | |||
77 | /** |
||
78 | * Convert a string from its PO representation. |
||
79 | * |
||
80 | * @param string $value |
||
81 | * |
||
82 | * @return string |
||
83 | */ |
||
84 | public static function fromPo($value) |
||
109 | } |
||
110 |