Skip to content

Instantly share code, notes, and snippets.

@fixe
Created July 4, 2012 13:28
Show Gist options
  • Save fixe/3047312 to your computer and use it in GitHub Desktop.
Save fixe/3047312 to your computer and use it in GitHub Desktop.
<?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