public static function make(array $data)
    {
        # Convert values to ArrayObject instances
        foreach ($data as &$value) {
            if (is_array($value)) {
                $value = static::make($value);
            }
        }
        unset($value);

        return new self($data, \ArrayObject::ARRAY_AS_PROPS);
    }
public static function make(array $data)
    {
        # Convert values to ArrayObject instances
        foreach ($data as &$value) {
            if (is_array($value)) {
                $value = static::make($value);
            }
        }
        unset($value);

        return new self($data, \ArrayObject::ARRAY_AS_PROPS);
    }
public static function make ( array $ data ) { # Convert values to ArrayObject instances foreach ( $ data as & $ value ) { if ( is_array ( $ value ) ) { $ value = static :: make ( $ value ) ; } } unset ( $ value ) ; return new self ( $ data , \ ArrayObject :: ARRAY_AS_PROPS ) ; }
Create a new instance from a basic array.

@param array $data The array to convert

@return self
Create a new instance from a basic array .