Exemplo n.º 1
0
 /**
  * Class constructor
  * @return Void 
  */
 public function __construct()
 {
     self::$_store = Garp_Store_Factory::getStore('FlashMessenger');
 }
Exemplo n.º 2
0
 /**
  * Private constructor. Here be Singletons.
  * @param Garp_Store_Interface $store Session or cookie, for instance
  * @return Void
  */
 private function __construct(Garp_Store_Interface $store = null)
 {
     $this->setStore($store ?: Garp_Store_Factory::getStore('Garp_Auth'));
 }