/** * Gets UIDVALIDITY of currently selected folder * * @return int */ public function getUidValidity() { $this->ensureConnected(); return $this->imap->getUidValidity(); }