예제 #1
0
 /**
  * Because I kept writing this a lot
  *
  * @param $file
  *
  * @return mixed|null
  */
 public static function PathRead($file)
 {
     $file = JsonReader::GetRawFile(PathFinder::Path($file));
     if ($file != null) {
         return json_decode($file, true);
     }
     return null;
 }