1
0
mirror of synced 2025-01-31 04:21:44 +03:00

add DefaultQuoteStrategy use statement

This commit is contained in:
Fabio B. Silva 2012-06-12 17:47:00 -03:00
parent 49f9d185de
commit b9d94e7bf0

View File

@ -25,8 +25,9 @@ use Doctrine\Common\Cache\Cache,
Doctrine\Common\Annotations\AnnotationReader,
Doctrine\ORM\Mapping\Driver\Driver,
Doctrine\ORM\Mapping\Driver\AnnotationDriver,
Doctrine\ORM\Mapping\NamingStrategy,
Doctrine\ORM\Mapping\QuoteStrategy,
Doctrine\ORM\Mapping\DefaultQuoteStrategy,
Doctrine\ORM\Mapping\NamingStrategy,
Doctrine\ORM\Mapping\DefaultNamingStrategy;
/**
@ -651,7 +652,7 @@ class Configuration extends \Doctrine\DBAL\Configuration
public function getQuoteStrategy()
{
if ( ! isset($this->_attributes['quoteStrategy'])) {
$this->_attributes['quoteStrategy'] = new \Doctrine\ORM\Mapping\DefaultQuoteStrategy();
$this->_attributes['quoteStrategy'] = new DefaultQuoteStrategy();
}
return $this->_attributes['quoteStrategy'];