src/Crate/PDO/PDOStatement.php
private function getObjectResult(array $columns, array $row)
    {
        $obj = new \stdClass();
        foreach ($columns as $key => $column) {
            $obj->{$column} = $row[$key];
        }

        return $obj;
    }
private function getObjectResult(array $columns, array $row)
    {
        $obj = new \stdClass();
        foreach ($columns as $key => $column) {
            $obj->{$column} = $row[$key];
        }

        return $obj;
    }
private function getObjectResult ( array $ columns , array $ row ) { $ obj = new \ stdClass ( ) ; foreach ( $ columns as $ key => $ column ) { $ obj -> { $ column } = $ row [ $ key ] ; } return $ obj ; }
Generate object from array

@param array $columns
@param array $row
Generate object from array