public function __construct(Iface $core = NULL) { if (!$core) { $core = new \Wukka\Store(); } parent::__construct($core); }
public function __construct() { if (!isset(self::$data)) { self::$data = new EmbeddedTTL(new KVP()); } parent::__construct(self::$data); }
public function __construct($core, $options) { parent::__construct($core); if (!$options instanceof Iface) { $options = new \Wukka\Store($options); } $this->options = $options; }
public function __construct($core, \Gaia\Serialize\Iface $s = NULL) { if (!$s) { $s = new \Gaia\Serialize\PHP(); } $this->s = $s; parent::__construct($core); }
public function __construct($core, \Closure $serializer = NULL) { if (!$serializer) { $serializer = function ($method, $input) { return $method($input); }; } $this->_s = $serializer; parent::__construct($core); }
public function flush() { if (isset($this->validators[__FUNCTION__])) { $validate = $this->validators[__FUNCTION__]; if (!$validate()) { return FALSE; } } return parent::flush(); }
public function __construct(Iface $core, Iface $stat) { parent::__construct($core); $this->stat = $stat; }
public function __construct(Iface $core, Iface $tier1, $tier1_expires = 60) { parent::__construct($core); $this->tier1 = $tier1; $this->tier1_expires = $tier1_expires; }
public function __construct($core, $prefix) { parent::__construct($core); $this->prefix = $prefix; }