Pheasant\Schema::unmarshal PHP Method

unmarshal() public method

Converts an array using each columns type object to the object format
public unmarshal ( $row ) : array
return array
    public function unmarshal($row)
    {
        foreach ($this->_props as $key => $prop) {
            if (isset($row[$key])) {
                $row[$key] = $prop->type->unmarshal($row[$key]);
            }
        }
        return $row;
    }