- Added SearchableInterace as base of EntityInterface
This commit is contained in:
parent
5a5d326d70
commit
bd0d928f35
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue