- Big WIP on forms component
This commit is contained in:
1 parent
c0b0681fee
commit
3d50cfaccb
14 files changed
+114
-20
No files matched your search
@@ -74,7 +74,7 @@ trait LeanApiTrait
|
||||
}
|
||||
|
||||
#[Ignore]
|
||||
protected function searchEntityFromRequest(ServerRequestInterface $request, string $entityType, ? string $resultKey = null) : ServerRequestInterface
|
||||
protected function searchEntityFromRequest(ServerRequestInterface $request, string $entityType, ? string $resultKey = null) : ServerRequestInterface
|
||||
{
|
||||
$search = $entityType::searchRequest()->fromRequest($request);
|
||||
$entity = $entityType::repository()->filterServerRequest($search)->loadOne() ?? false;
|
||||
|
||||
Reference in new issue
Block a user