Changeset 3751
- Timestamp:
- 02/13/08 03:05:10 (17 months ago)
- Location:
- branches
- Files:
-
- 4 modified
-
0.10/lib/Doctrine/Compiler.php (modified) (2 diffs)
-
0.10/lib/Doctrine/Task/Compile.php (modified) (1 diff)
-
0.9/lib/Doctrine/Compiler.php (modified) (2 diffs)
-
0.9/lib/Doctrine/Task/Compile.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.10/lib/Doctrine/Compiler.php
r3189 r3751 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 } -
branches/0.10/lib/Doctrine/Task/Compile.php
r2951 r3751 40 40 public function execute() 41 41 { 42 Doctrine::compile($this->getArgument('compiled_path'), $this->getArgument('drivers', array()));42 $compiledPath = Doctrine::compile($this->getArgument('compiled_path'), $this->getArgument('drivers', array())); 43 43 44 $this->notify('Compiled Doctrine successfully to: ' . $ this->getArgument('compiled_path'));44 $this->notify('Compiled Doctrine successfully to: ' . $compiledPath); 45 45 } 46 46 } -
branches/0.9/lib/Doctrine/Compiler.php
r2963 r3751 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()) … … 132 132 fwrite($fp, $stripped); 133 133 fclose($fp); 134 135 return $target; 134 136 } 135 137 } -
branches/0.9/lib/Doctrine/Task/Compile.php
r2951 r3751 40 40 public function execute() 41 41 { 42 Doctrine::compile($this->getArgument('compiled_path'), $this->getArgument('drivers', array()));42 $compiledPath = Doctrine::compile($this->getArgument('compiled_path'), $this->getArgument('drivers', array())); 43 43 44 $this->notify('Compiled Doctrine successfully to: ' . $ this->getArgument('compiled_path'));44 $this->notify('Compiled Doctrine successfully to: ' . $compiledPath); 45 45 } 46 46 }