diff --git a/src/Entity/EntityInterface.php b/src/Entity/EntityInterface.php index 8d57c29..bde318a 100644 --- a/src/Entity/EntityInterface.php +++ b/src/Entity/EntityInterface.php @@ -3,9 +3,13 @@ namespace Ulmus\Entity; use Ulmus\Common\{ EntityField, EntityResolver }; -use Ulmus\{ ConnectionAdapter, EntityCollection, QueryBuilder\QueryBuilderInterface, Repository }; +use Ulmus\{ConnectionAdapter, + EntityCollection, + QueryBuilder\QueryBuilderInterface, + Repository, + SearchRequest\SearchableInterface}; -interface EntityInterface /* extends \JsonSerializable */ +interface EntityInterface extends SearchableInterface /* extends \JsonSerializable */ { public function fromArray(iterable $dataset) : static; public function entityGetDataset(bool $includeRelations = false, bool $returnSource = false) : array;