Clear all To recipients.
@return void
501070
public function clearAddresses()
    {
        foreach ($this->to as $to) {
            unset($this->all_recipients[strtolower($to[0])]);
        }
        $this->to = array();
        $this->clearQueuedAddresses('to');
    }
315336
public function reset()
    {
        $this->_header_fields = array();
        $this->_envelope_from = null;
        $this->_recipients = array();
        $this->_subject = null;
        $this->_body = null;
    }
1233500
public function clear()
    {
        $this->assertOpened();
        foreach ($this->contents as $key => $value) {
            unset($this->contents[$key]);
        }
    }
1030540
protected function _clear()
		{
			$this->selects	= array();
			$this->wheres	= array();
			$this->limit	= 999999;
			$this->offset	= 0;
			$this->sorts	= array();
		}
28678
public function clearAll()
	{
		$this->clearAuthAssignments();
		$this->db->createCommand()->delete($this->itemChildTable);
		$this->db->createCommand()->delete($this->itemTable);
	}
694248
public function ClearCCs() {
    foreach($this->cc as $cc) {
      unset($this->all_recipients[strtolower($cc[0])]);
    }
    $this->cc = array();
  }
1102544
public function clear()
    {
        if (null !== $this->aSport) {
            $this->aSport->removeGroup($this);
        }
        $this->id = null;
        $this->title = null;
        $this->description = null;
        $this->slug = null;
        $this->sport_id = null;
        $this->skill_count = null;
        $this->alreadyInSave = false;
        $this->clearAllReferences();
        $this->resetModified();
        $this->setNew(true);
        $this->setDeleted(false);
    }
1255378
public function clear() {
		foreach ($this->dirPath->getChildDirectories() as $nameDirPath) {
			$this->removeAll($nameDirPath->getName());	
		}
	}
127703
public function clearFiles()
    {
        foreach ($this->files as $field => $files) {
            foreach ($files as $name => $upload) {
                $this->removeTmpFile($upload['tmp_name'] ?? '');
            }
        }

        $this->files = [];
    }
389835
public function clearAllCaches()
    {
        if (MemcachedCache::itWorks()) {
            $this->getMemcachedCacher()->deleteAll();
            $clear_file_cache = false;
        }

        if (MemcacheCache::itWorks()) {
            $this->getMemcacheCacher()->deleteAll();
            $clear_file_cache = false;
        }

        if (FileCache::itWorks()) {
            $this->getFileCacher()->deleteAll();
        }

        if (FakeCache::itWorks()) {
            $this->getFakeCacher()->deleteAll();
        }
    }
688484
public function clear()
    {
        $this->_headerCollection = null;
        $this->_cookies = null;
        $this->_statusCode = 200;
        $this->reasonPhrase = 'OK';
        $this->data = null;
        $this->bodyRange = null;
        $this->isSent = false;
        $this->setBody(null);
    }
789395
public function clear()
    {
        $this->date     = $this->base->toInternalDateTime();
        $this->calendar = $this->createCalendar($this->locale);
        
        if (null === $this->locale) {
            $this->calendar->setFirstDayOfWeek(\IntlCalendar::DOW_MONDAY);
        }
    }
805046
public function clear()
    {
        $this->id = null;
        $this->dealer_id = null;
        $this->is_default = null;
        $this->created_at = null;
        $this->updated_at = null;
        $this->version = null;
        $this->version_created_at = null;
        $this->version_created_by = null;
        $this->dealer_id_version = null;
        $this->dealer_contact_info_ids = null;
        $this->dealer_contact_info_ids_unserialized = null;
        $this->dealer_contact_info_versions = null;
        $this->dealer_contact_info_versions_unserialized = null;
        $this->alreadyInSave = false;
        $this->clearAllReferences();
        $this->applyDefaultValues();
        $this->resetModified();
        $this->setNew(true);
        $this->setDeleted(false);
    }
967627
public function clearCCs()
    {
        foreach ($this->cc as $cc) {
            unset($this->all_recipients[strtolower($cc[0])]);
        }
        $this->cc = array();
    }
24145
public function clear()
    {
        foreach ($this->items as $item) {
            $this->deleted[] = $item;
        }

        $this->items = [];
    }
23197
public function clear()
    {
        $this->scheme = null;
        $this->host = null;
        $this->user = null;
        $this->password = null;
        $this->path = null;
        $this->query = null;
        $this->fragment = null;
        $this->port = null;
    }
598114
public function clearAllData()
    {
        $tables = $this->getSchemaManager()->tableList();
        foreach ($tables as $table) {
            $this->clearTable($table);
        }
    }