. */ /** * Doctrine_Task_DropDb * * @package Doctrine * @subpackage Task * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @link www.phpdoctrine.com * @since 1.0 * @version $Revision: 2761 $ * @author Jonathan H. Wage */ class Doctrine_Task_DropDb extends Doctrine_Task { public $description = 'Drop database for all existing connections', $requiredArguments = array(), $optionalArguments = array('connection' => 'Optionally specify a single connection to drop the database for.'); public function execute() { Doctrine_Facade::dropDatabases($this->getArgument('connection')); } }