public function store()
    {
        if ($this->name && $this->setCookie == true) {
            throw new InvalidCookieException('Cookies can only set once.');
        }

        $bool = setcookie(
            $this->name,
            $this->value,
            $this->expire,
            $this->path,
            $this->domain,
            $this->secure,
            $this->httpOnly
        );

        if ($bool == true) {
            $this->setCookie = true;
        }

        return $bool;
    }