deprecated metadata quote methods
This commit is contained in:
parent
4ef3d99770
commit
fabfb66293
@ -638,7 +638,7 @@ class Configuration extends \Doctrine\DBAL\Configuration
|
||||
*/
|
||||
public function setQuoteStrategyClassName($className)
|
||||
{
|
||||
$quoteStrategy = 'Doctrine\ORM\Mapping\AbstractQuoteStrategy';
|
||||
$quoteStrategy = 'Doctrine\ORM\Mapping\QuoteStrategy';
|
||||
|
||||
if ($className !== $quoteStrategy && ! is_subclass_of($className, $quoteStrategy)) {
|
||||
throw new \InvalidArgumentException("Invalid quote strategy class");
|
||||
|
@ -2646,6 +2646,8 @@ class ClassMetadataInfo implements ClassMetadata
|
||||
/**
|
||||
* Gets the (possibly quoted) identifier column names for safe use in an SQL statement.
|
||||
*
|
||||
* @deprecated Deprecated since version 2.3 in favor of \Doctrine\ORM\Mapping\QuoteStrategy
|
||||
*
|
||||
* @param AbstractPlatform $platform
|
||||
* @return array
|
||||
*/
|
||||
@ -2680,8 +2682,9 @@ class ClassMetadataInfo implements ClassMetadata
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the (possibly quoted) column name of a mapped field for safe use
|
||||
* in an SQL statement.
|
||||
* Gets the (possibly quoted) column name of a mapped field for safe use in an SQL statement.
|
||||
*
|
||||
* @deprecated Deprecated since version 2.3 in favor of \Doctrine\ORM\Mapping\QuoteStrategy
|
||||
*
|
||||
* @param string $field
|
||||
* @param AbstractPlatform $platform
|
||||
@ -2695,8 +2698,9 @@ class ClassMetadataInfo implements ClassMetadata
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the (possibly quoted) primary table name of this class for safe use
|
||||
* in an SQL statement.
|
||||
* Gets the (possibly quoted) primary table name of this class for safe use in an SQL statement.
|
||||
*
|
||||
* @deprecated Deprecated since version 2.3 in favor of \Doctrine\ORM\Mapping\QuoteStrategy
|
||||
*
|
||||
* @param AbstractPlatform $platform
|
||||
* @return string
|
||||
@ -2709,6 +2713,8 @@ class ClassMetadataInfo implements ClassMetadata
|
||||
/**
|
||||
* Gets the (possibly quoted) name of the join table.
|
||||
*
|
||||
* @deprecated Deprecated since version 2.3 in favor of \Doctrine\ORM\Mapping\QuoteStrategy
|
||||
*
|
||||
* @param AbstractPlatform $platform
|
||||
* @return string
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user