/** * Class constructor * @return Void */ public function __construct() { self::$_store = Garp_Store_Factory::getStore('FlashMessenger'); }
/** * 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')); }