src/Data/DataContainer.php
public function getArray($keys, array $default = []): array
    {
        $result = $this->get($keys, $default);
        if (!is_array($result)) {
            $result = $default;
        }
        return $result;
    }
public function getArray($keys, array $default = []): array
    {
        $result = $this->get($keys, $default);
        if (!is_array($result)) {
            $result = $default;
        }
        return $result;
    }
Returns an array of values from the data containers.
@param string|string[] $keys
@param array $default
@return array