- WIP on SearchAttributes supporting Request's attributes
This commit is contained in:
1 parent
bd9078230d
commit
bbfd7c02b4
6 files changed
+70
-9
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user