/** * Destructor. * * @api */ public function __destruct() { parent::__destruct(); }
public function __destruct() { $this->sync(); if ($this->dir->exists()) { TTL::queued($this->name, $this->ttl); } parent::__destruct(); }