2 Commits
3 changed files with 7 additions and 4 deletions

No files matched your search

+1 -1
View File
@@ -16,6 +16,6 @@ class Id extends \Ulmus\Attribute\Property\Field {
],
public bool $nullable = false,
public mixed $default = null,
public bool $readonly = false,
public bool $readonly = true,
) {}
}
-1
View File
@@ -72,7 +72,6 @@ class EntityResolver {
$key = strtolower($item->name);
break;
case static::KEY_ENTITY_NAME:
$key = $item->name;
break;
+6 -2
View File
@@ -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;