public function addDoctrineQueries(DebugStack $debugStack)
    {
        foreach ($debugStack->queries as $query) {

            if (!$query['params']) {
                $query['params'] = array();
            }

            if (!$query['types']) {
                $query['types'] = array();
            }

            // Because doctrine columns can be more advanced we need to convert them to string
            // This is a quick a dirty way of doing it so could do with going elsewhere
            $query['params'] = $this->convertDoctrineParameters($query['params'], $query['types']);

            $queries = array(
                array(
                    'query'    => $query['sql'],
                    'bindings' => $query['params'],
                    'time'     => $query['executionMS'],
                )
            );

            $this->addQueries($queries);
        }

        return $this;
    }