Esempio n. 1
0
 public function afterload()
 {
     parent::afterload();
     $time = time();
     foreach ($this->keys as $handle => $item) {
         if ($item['expired'] < $time) {
             unset($this->keys[$handle]);
         }
     }
 }