#1178 - adding note about ClassMetadataInfo#getTypeOfColumn()
being unreliable/dangerous
This commit is contained in:
parent
41900dca76
commit
1e606d1ed3
1 changed files with 4 additions and 1 deletions
|
@ -1998,7 +1998,10 @@ class ClassMetadataInfo implements ClassMetadata
|
||||||
*
|
*
|
||||||
* @param string $columnName
|
* @param string $columnName
|
||||||
*
|
*
|
||||||
* @return \Doctrine\DBAL\Types\Type
|
* @return \Doctrine\DBAL\Types\Type|string|null
|
||||||
|
*
|
||||||
|
* @deprecated this method is bogous and unreliable, since it cannot resolve the type of a column that is
|
||||||
|
* derived by a referenced field on a different entity.
|
||||||
*/
|
*/
|
||||||
public function getTypeOfColumn($columnName)
|
public function getTypeOfColumn($columnName)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue