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

public method

Drop all fixture tables loaded by this class.

Parameters

  • array $names

    The fixtures name to drop.

  • boolean $safe

    If true drop the fixture only if exists

Source

	public function drop(array $names = [], $safe = true) {
		$names = $names ?: array_keys($this->_loaded);
		foreach ($names as $name) {
			$fixture = $this->get($name);
			$fixture->drop($safe);
		}
	}