public function ignoreGlobal(?bool $bool = null): bool
    {
        if ($bool === null) {
            return $this->ignoreGlobal;
        }

        $this->ignoreGlobal = (bool) $bool;

        return $bool;
    }