original_string: public static function One($id) {
      $class = get_called_class();
      
      if (! isset(self::$refs[$class][$id])) {
        $file = self::File($id);
        $obj = unserialize(file_get_contents($file));
        self::$refs[$class][$id] = $obj;
      }
      
      return self::$refs[$class][$id];
    }
code: public static function One($id) {
      $class = get_called_class();
      
      if (! isset(self::$refs[$class][$id])) {
        $file = self::File($id);
        $obj = unserialize(file_get_contents($file));
        self::$refs[$class][$id] = $obj;
      }
      
      return self::$refs[$class][$id];
    }
code_tokens: public static function One ( $ id ) { $ class = get_called_class ( ) ; if ( ! isset ( self :: $ refs [ $ class ] [ $ id ] ) ) { $ file = self :: File ( $ id ) ; $ obj = unserialize ( file_get_contents ( $ file ) ) ; self :: $ refs [ $ class ] [ $ id ] = $ obj ; } return self :: $ refs [ $ class ] [ $ id ] ; }
docstring: Fetch one saved object by id
  @param int $id
  @return Persistent
docstring_tokens: Fetch one saved object by id