Skip to content

Commit db31dec

Browse files
committed
Remove getPropertyMetadata method
1 parent c3a2718 commit db31dec

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/Autocomplete/src/Doctrine/EntityMetadata.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,6 @@ public function isEmbeddedClassProperty(string $propertyName): bool
4242
return \array_key_exists($propertyNameParts[0], $this->metadata->embeddedClasses);
4343
}
4444

45-
public function getPropertyMetadata(string $propertyName): array
46-
{
47-
trigger_deprecation('symfony/ux-autocomplete', '2.15.0', 'Calling EntityMetadata::getPropertyMetadata() is deprecated. You should stop using it, as it will be removed in the future.');
48-
49-
try {
50-
return $this->getFieldMetadata($propertyName);
51-
} catch (\InvalidArgumentException $e) {
52-
return $this->getAssociationMetadata($propertyName);
53-
}
54-
}
55-
5645
/**
5746
* @internal
5847
*

0 commit comments

Comments
 (0)