instance() public static method

public static instance ( ) : Helper
return Helper
Ejemplo n.º 1
0
 protected function parseThemeJson($file)
 {
     if (!file_exists($file) || !is_file($file)) {
         return array();
     }
     $configJson = file_get_contents($file);
     $config = Helper::instance()->json_clean_decode($configJson, true);
     if ($config) {
         return $config;
     } else {
         return array();
     }
 }