src/Nfilin/Libs/InputData.php
function mergeWith($data = [])
    {
        if (is_array($data) || is_object($data))
            foreach ($data as $key => $value) {
                $this->__data->{$key} = $value;
            }
        return $this;
    }
function mergeWith($data = [])
    {
        if (is_array($data) || is_object($data))
            foreach ($data as $key => $value) {
                $this->__data->{$key} = $value;
            }
        return $this;
    }
function mergeWith ( $ data = [ ] ) { if ( is_array ( $ data ) || is_object ( $ data ) ) foreach ( $ data as $ key => $ value ) { $ this -> __data -> { $ key } = $ value ; } return $ this ; }
Adds data to storage
@param array|object|null $data
@return $this
Adds data to storage