Changeset 4074
- Timestamp:
- 03/22/08 00:50:50 (16 months ago)
- Files:
-
- 1 modified
-
branches/0.10/lib/Doctrine/Migration/Builder.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.10/lib/Doctrine/Migration/Builder.php
r3910 r4074 268 268 public function generateMigrationClass($className, $options = array(), $up = null, $down = null, $return = false) 269 269 { 270 $className = Doctrine_Inflector::urlize($className); 271 $className = str_replace('-', '_', $className); 272 $className = Doctrine_Inflector::classify($className); 273 270 274 if ($return || ! $this->getMigrationsPath()) { 271 275 return $this->buildMigrationClass($className, null, $options, $up, $down);