public function captureStart($type = null)
    {
        if ($this->captureStarted) {
            throw new RuntimeException('Capture is already started.');
        }
        if (null !== $type) {
            $this->setCaptureType($type);
        }
        $this->captureStarted = true;

        ob_start();

        return $this;
    }