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

public method

Trucantes the fixtures tables

Parameters

  • mixed $names

    The fixtures name to truncate.

Source

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