davedevelopment/phpmig — pull request #25 by ftwbzhao (2013-01-07 07:31:46+00:00)
Title: Support ClassName include '_'

```php
./bin/phpmig generate Class_A ./migrations
#show +f ./migrations/[]_Class_A.php

#[]_Class_A.php
class Class_A extends Migration
{
//...
}

#somecode
$class = preg_replace('/^[0-9]+_/', '', basename($path));
$class = str_replace('_', ' ', $class);
$class = ucwords($class);
$class = str_replace(' ', '', $class);

#oops Could not find class "ClassA"
```