- WIP on migration and some bug fixes linked to withJoin() select problems
This commit is contained in:
1 parent
761e0401b0
commit
cc6048d4ee
20 files changed
+196
-93
No files matched your search
@@ -114,7 +114,12 @@ class EntityResolver {
|
||||
throw new \InvalidArgumentException("Can't find entity relation's column named `$name` from entity {$this->entityClass}");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public function getPropertyEntityType(string $name) : false|string
|
||||
{
|
||||
return $this->reflectedClass->getProperties(true)[$name]->getTypes()[0]->type ?? false;
|
||||
}
|
||||
|
||||
public function searchFieldAnnotation(string $field, array|object|string $annotationType, bool $caseSensitive = true) : ? object
|
||||
{
|
||||
return $this->searchFieldAnnotationList($field, $annotationType, $caseSensitive)[0] ?? null;
|
||||
|
||||
Reference in new issue
Block a user