Пример #1
1
 /**
  * Cache class constructor
  * @param void
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->keepalive = 3600;
     $this->meta = [];
     $this->data = null;
     $this->cacheFile = null;
     $this->permission = $this->config('system/filePermission');
 }
Пример #2
0
 /**
  * @ignore
  */
 public function __construct()
 {
     parent::__construct();
     $this->souls = new \stdClass();
     $this->souls->identity = $this->setIdentity(Tools::rnd(71));
     $this->souls->data = [];
     $this->souls->worker = function ($config = []) {
     };
 }