| Total Complexity | 3 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class PostScriptGlyphs |
||
| 8 | { |
||
| 9 | private static $glyphs = null; |
||
| 10 | |||
| 11 | 1 | public static function getGlyphs() |
|
| 12 | { |
||
| 13 | 1 | if (null === self::$glyphs) { |
|
| 14 | 1 | self::$glyphs = json_decode(file_get_contents(__DIR__.'/PostScriptGlyphs.json'), true); |
|
| 15 | } |
||
| 16 | |||
| 17 | 1 | return self::$glyphs; |
|
| 18 | } |
||
| 19 | |||
| 20 | 1 | public static function getCodePoint($glyph) |
|
| 23 | } |
||
| 24 | } |
||
| 25 |