data loader template

This commit is contained in:
Yurii
2026-01-15 10:13:29 +02:00
parent 6aecc8ea6b
commit 89db06f319

View File

@@ -34,7 +34,13 @@ use Espo\Tools\Pdf\Params;
use stdClass;
/**
* @template TEntity of Entity = Entity
*/
interface DataLoader
{
/**
* @param TEntity $entity
*/
public function load(Entity $entity, Params $params): stdClass;
}