src/bundles/Database/Handler.php
public function fetch( $query, $params = array(), $arguments = array( 'obj' ) )
	{
		$sth = $this->statement( $query, $params );
		
		$args = null;
		
		foreach( $arguments as $argument )
		{
			$args |= constant( "\PDO::FETCH_".strtoupper( $argument ) );
		}
				
		return $sth->fetchAll( $args );
	}
public function fetch( $query, $params = array(), $arguments = array( 'obj' ) )
	{
		$sth = $this->statement( $query, $params );
		
		$args = null;
		
		foreach( $arguments as $argument )
		{
			$args |= constant( "\PDO::FETCH_".strtoupper( $argument ) );
		}
				
		return $sth->fetchAll( $args );
	}
public function fetch ( $ query , $ params = array ( ) , $ arguments = array ( 'obj' ) ) { $ sth = $ this -> statement ( $ query , $ params ) ; $ args = null ; foreach ( $ arguments as $ argument ) { $ args |= constant ( "\PDO::FETCH_" . strtoupper ( $ argument ) ) ; } return $ sth -> fetchAll ( $ args ) ; }
Run the query and fetch the results

You can pass arguments on the third parameter.
These parameter are just the normal PDO ones but in short.

obj = \PDO::FETCH_OBJ
assoc = \PDO::FETCH_ASSOC

@param string			$query
@param array 			$params
@return array
Run the query and fetch the results