src/Data/DataContainer.php
public function getObjectArray($keys): array
    {
        return array_map(function ($value) {
            return $this->createObject($value);
        }, $this->getArray($keys));
    }
public function getObjectArray($keys): array
    {
        return array_map(function ($value) {
            return $this->createObject($value);
        }, $this->getArray($keys));
    }
Returns an array of objects from the data container. All values of the resulting array are casted to new
data container instances.
@param string|string[] $keys
@return array|DataContainer[]