public function toObject()
        {
            $array = $this->get();
            foreach ($array as $key => $value) {
                if (is_array($value)) {
                    $array[$key] = (new \PHY\Variable\Arr($value))->toObject();
                }
            }
            return (object)$array;
        }
public function toObject()
        {
            $array = $this->get();
            foreach ($array as $key => $value) {
                if (is_array($value)) {
                    $array[$key] = (new \PHY\Variable\Arr($value))->toObject();
                }
            }
            return (object)$array;
        }
public function toObject ( ) { $ array = $ this -> get ( ) ; foreach ( $ array as $ key => $ value ) { if ( is_array ( $ value ) ) { $ array [ $ key ] = ( new \ PHY \ Variable \ Arr ( $ value ) ) -> toObject ( ) ; } } return ( object ) $ array ; }
Recursively convert our array into a stdClass.

@return \stdClass
Recursively convert our array into a stdClass .