Changeset 3567
- Timestamp:
- 01/22/08 22:08:08 (18 months ago)
- Location:
- trunk/lib/Doctrine
- Files:
-
- 2 modified
-
Compiler.php (modified) (2 diffs)
-
Task/Compile.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Doctrine/Compiler.php
r3458 r3567 40 40 * 41 41 * @throws Doctrine_Compiler_Exception if something went wrong during the compile operation 42 * @return void42 * @return $target Path the compiled file was written to 43 43 */ 44 44 public static function compile($target = null, $includedDrivers = array()) … … 134 134 fwrite($fp, $stripped); 135 135 fclose($fp); 136 137 return $target; 136 138 } 137 139 } -
trunk/lib/Doctrine/Task/Compile.php
r3458 r3567 40 40 public function execute() 41 41 { 42 Doctrine::compile($this->getArgument('compiled_path'), $this->getArgument('drivers', array()));43 44 $this->notify('Compiled Doctrine successfully to: ' . $ this->getArgument('compiled_path'));42 $compiledPath = Doctrine_Compiler::compile($this->getArgument('compiled_path'), $this->getArgument('drivers', array())); 43 44 $this->notify('Compiled Doctrine successfully to: ' . $compiledPath); 45 45 } 46 46 }