. */ /** * Doctrine_Task_Compile * * @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_Compile extends Doctrine_Task { public $description = 'Compile doctrine classes in to one single php file', $requiredArguments = array(), $optionalArguments = array('drivers' => 'Specify list of drivers you wish to compile. Ex: mysql|mssql|sqlite', 'compiled_path' => 'The path where you want to write the compiled doctrine libs.'); public function execute() { Doctrine_Facade::compile($this->getArgument('compiled_path'), $this->getArgument('drivers', array())); } }