- WIP on SearchAttributes supporting Request's attributes

This commit is contained in:
Dave Mc Nicoll committed 2024-06-04 13:33:48 +00:00
1 parent bd9078230d
commit bbfd7c02b4
6 files changed
+70 -9

No files matched your search

+1 -1
View File
@@ -237,7 +237,7 @@ class EntityResolver {
public function getAttributeImplementing(string $interface) : null|object
{
foreach (array_reverse($this->reflectedClass->getAttributes(true)) as $item) {
foreach ($this->reflectedClass->getAttributes(true) as $item) {
if ($item->object instanceof $interface) {
return $item->object;
}