first()?->key; // // return $sKey; // } public static function _first_path() { $oSelf = self::first()?->path; return $oSelf; } public static function _cd($sPath) { DB::table('book_hook')->truncate(); $oBookHook = new self(); $oBookHook->path = $sPath; $r = $oBookHook->save(); return $r; } }