Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DoctrineBundle] added new DisconnectedMetadataFactory class that is …
…now used in the doctrine:generate:entities command instead of the MetadataFactory class.
- Loading branch information
Hugo Hamon
committed
Jun 10, 2011
1 parent
25c3fee
commit ce3839a
Showing
3 changed files
with
36 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
src/Symfony/Bundle/DoctrineBundle/Mapping/DisconnectedMetadataFactory.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the Symfony package. | ||
* | ||
* (c) Fabien Potencier <fabien@symfony.com> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Symfony\Bundle\DoctrineBundle\Mapping; | ||
|
||
/** | ||
* | ||
* | ||
* @author Fabien Potencier <fabien@symfony.com> | ||
*/ | ||
class DisconnectedMetadataFactory extends MetadataFactory | ||
{ | ||
protected function getClassMetadataFactoryClass() | ||
{ | ||
return '\\Doctrine\\ORM\Tools\\DisconnectedClassMetadataFactory'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters