public function display($dbConnection = null)
    {
        if (!isset($this->display)) {
            throw new Exception('Display object has not been injected into Profiler');
        }
        if (!isset($this->console)) {
            throw new Exception('Console object has not been injected into Profiler');
        }

        $this->display->setStartTime($this->startTime);
        $this->display->setConsole($this->console);
        $this->display->setFileData($this->gatherFileData());
        $this->display->setMemoryData($this->gatherMemoryData());
        $this->display->setQueryData($this->gatherQueryData($dbConnection));
        $this->display->setSpeedData($this->gatherSpeedData());

        $this->display->__invoke();
    }