Beispiel #1
0
 private static function getPrevMethodAttr($path)
 {
     try {
         $result = JsonPatch::get(self::$src, $path);
     } catch (\Exception $e) {
         $result = null;
     }
     return is_array($result) ? json_encode($result) : $result;
 }