Created
July 4, 2012 13:28
-
-
Save fixe/3047312 to your computer and use it in GitHub Desktop.
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
<?php | |
/* | |
* This file is part of the ToolkitBundle package, a Seegno project. | |
* | |
* (c) Seegno <projects@seegno.com> | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ | |
namespace Seegno\Bundle\SeegnoToolkitBundle; | |
use Symfony\Component\HttpKernel\Bundle\Bundle; | |
use Seegno\Bundle\SeegnoToolkitBundle\Doctrine\ORM\Mapping\DefaultNamingStrategy; | |
class SeegnoToolkitBundle extends Bundle | |
{ | |
public function boot() | |
{ | |
$this->container->get('doctrine')->getManager()->getConfiguration()->setNamingStrategy(new DefaultNamingStrategy()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment