/** Flush the database and reload base fixtures. * * @param bool $rebuild * true: The database will be dropped and rebuilt. * false: The method will try just to flush the data. * * Note that the first time flushDatabase() is called (per execution), the * database will be rebuilt regardless of $rebuild. * * @return static */ public function flushDatabase($rebuild = false) { $this->_db->flushDatabase($rebuild); return $this; }