コード例 #1
0
ファイル: PubSubHubbub.php プロジェクト: totolouis/ZF2-Auth
 /**
  * Set the Escaper instance
  *
  * If null, resets the instance
  *
  * @param  null|Escaper $escaper
  */
 public static function setEscaper(Escaper $escaper = null)
 {
     static::$escaper = $escaper;
 }
コード例 #2
0
 /**
  *
  * Sets the static singleton escaper instance.
  *
  * @param Escaper $escaper The Escaper to use as the singleton.
  *
  * @return null
  *
  */
 public static function setStatic(Escaper $escaper)
 {
     static::$escaper = $escaper;
 }