public static function _queryToObjects ($query, $key = FALSE)
	{
		$query->execute ();
		return static::_arrayToObjects ($query->fetchAll (\PDO::FETCH_ASSOC), $key);
	}
public static function _queryToObjects ($query, $key = FALSE)
	{
		$query->execute ();
		return static::_arrayToObjects ($query->fetchAll (\PDO::FETCH_ASSOC), $key);
	}
public static function _queryToObjects ( $ query , $ key = FALSE ) { $ query -> execute ( ) ; return static :: _arrayToObjects ( $ query -> fetchAll ( \ PDO :: FETCH_ASSOC ) , $ key ) ; }
Execute a PDOStatement query and convert the results into objects
@param \PDOStatement Query to execute
@param string $key Attribute value to use as the array index, default to 0-indexed
@return Resource\Model\Collection
Execute a PDOStatement query and convert the results into objects