- Added a 'select' attribute, WIP on ArrayCollection and ArrayOf also

This commit is contained in:
Dave Mc Nicoll committed 2026-04-24 19:26:02 +00:00
1 parent b394b9348f
commit f938e18572
7 files changed
+56 -34

No files matched your search

+6 -1
View File
@@ -9,7 +9,12 @@ class ArrayCollection extends EntityCollection implements JsonUnserializable
public function jsonUnserialize(array $json): void
{
$this->fromarray($json);
$this->fromArray($json);
}
public function jsonSerialize(): mixed
{
return $this->getArrayCopy();
}
public function fromArray(array $datasets, ? string /*stringable*/ $entityClass = null) : self