Skip to content

Instantly share code, notes, and snippets.

@jmather
Created March 3, 2011 15:39
Show Gist options
  • Save jmather/852953 to your computer and use it in GitHub Desktop.
Save jmather/852953 to your computer and use it in GitHub Desktop.
How to enable identifier quoting with Doctrine in symfony
<?php
class ProjectConfiguration extends sfProjectConfiguration
{
// ...
public function configureDoctrine(Doctrine_Manager $manager)
{
$manager->setAttribute(Doctrine_Core::ATTR_QUOTE_IDENTIFIER, true);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment