예제 #1
0
 /**
  * Set the singleton instance to a given object.
  *
  * Since we do not have an interface for LinkCache, you have to be sure the
  * given object implements all the LinkCache public methods.
  *
  * @param LinkCache $instance
  * @since 1.22
  */
 public static function setSingleton(LinkCache $instance)
 {
     self::$instance = $instance;
 }