1 | <?php |
||
31 | class Reader extends StaticAbstract implements ReaderInterface |
||
32 | { |
||
33 | /** |
||
34 | * supported types |
||
35 | * |
||
36 | * @var string[] |
||
37 | * @access protected |
||
38 | * @staticvar |
||
39 | */ |
||
40 | protected static $supported = ['ini', 'json', 'php', 'xml', 'serialized']; |
||
41 | |||
42 | /** |
||
43 | * {@inheritDoc} |
||
44 | */ |
||
45 | public static function readFile(/*# string */ $path) |
||
61 | |||
62 | /** |
||
63 | * Is this type supported |
||
64 | * |
||
65 | * @param string $type |
||
66 | * @return bool |
||
67 | * @access public |
||
68 | * @static |
||
69 | */ |
||
70 | public static function isSupported(/*# string */ $type)/*# : bool */ |
||
74 | } |
||
75 |