mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
data loader template
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user