Merge branch 'fix-acl-schema-generator' of https://github.com/lewinski/symfony into lewinski-fix-acl-schema-generator
This commit is contained in:
commit
0eb4f49061
@ -27,7 +27,7 @@ $schema = new Schema(array(
|
||||
|
||||
$reflection = new ReflectionClass('Doctrine\\DBAL\\Platforms\\AbstractPlatform');
|
||||
$finder = new Finder();
|
||||
$finder->name('*.php')->in(dirname($reflection->getFileName()));
|
||||
$finder->name('*Platform.php')->in(dirname($reflection->getFileName()));
|
||||
foreach ($finder as $file) {
|
||||
require_once $file->getPathName();
|
||||
$className = 'Doctrine\\DBAL\\Platforms\\' . $file->getBasename('.php');
|
||||
|
Reference in New Issue
Block a user