. */ /** * Doctrine_Cli_Task_DropDb * * @package Doctrine * @subpackage Cli * @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_Cli_Task_DropDb extends Doctrine_Cli_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::dropDatabases($this->getArgument('connection')); } }