lithium\test\fixtures\adapter\Connection::clear()

public method

Drop all fixture tables loaded by this class.

Parameters

  • array $names

    The fixtures name to drop.

Source

	public function clear() {
		foreach ($this->_loaded as $name => $fixture) {
			$fixture->drop();
		}
		$this->_loaded = [];
		$this->_config = [];
	}