src/Database/AdapterResults.php
final public static function adapter($result)
    {
        if (is_array($result)) {
            $arr = [];
            foreach ($result as $key => $value) {
                $arr[$key] = self::makeObject($value);
            }
            return $arr;
        }

        return self::makeObject($result);
    }
final public static function adapter($result)
    {
        if (is_array($result)) {
            $arr = [];
            foreach ($result as $key => $value) {
                $arr[$key] = self::makeObject($value);
            }
            return $arr;
        }

        return self::makeObject($result);
    }
final public static function adapter ( $ result ) { if ( is_array ( $ result ) ) { $ arr = [ ] ; foreach ( $ result as $ key => $ value ) { $ arr [ $ key ] = self :: makeObject ( $ value ) ; } return $ arr ; } return self :: makeObject ( $ result ) ; }
Adapter the results

@author Edson B S Monteiro <bruno.monteirodg@gmail.com>
@since 1.0
@param mixed $result
@return \stdClass
Adapter the results