クッキーを削除します。optionsはSetCookie時のものと完全に同一である必要があります。

@param	string		$name				クッキー名
@param	array		$options			クッキー名以外のオプション
@return	bool		クッキーの設定に成功した場合はtreu 失敗した場合はfalse
490519
public static function DeleteCookie ($name, array $options = []) {
		$path		= $options['path'] ?? static::SET_COOKIE_DEFAULT;

		if (isset($_COOKIE[$name])) {
			unset($_COOKIE[$name]);
		}
		return setcookie($name, static::SET_COOKIE_DEFAULT, time() - 3600, $path, Request::GetDomainName(), true, true);
	}
217707
protected function setOptions($options)
	{
		// Set name
		if (isset($options['name']))
		{
			session_name(md5($options['name']));
		}

		// Set id
		if (isset($options['id']))
		{
			session_id($options['id']);
		}

		// Set expire time
		if (isset($options['expire']))
		{
			$this->expire = $options['expire'];
		}

		// Get security options
		if (isset($options['security']))
		{
			$this->security = explode(',', $options['security']);
		}

		if (isset($options['force_ssl']))
		{
			$this->force_ssl = (bool) $options['force_ssl'];
		}

		if (isset($options['cookie_domain']))
		{
			$this->cookie_domain = (string) $options['cookie_domain'];
		}

		if (isset($options['cookie_path']))
		{
			$this->cookie_path = (string) $options['cookie_path'];
		}

		// Sync the session maxlifetime
		ini_set('session.gc_maxlifetime', $this->expire);

		return true;
	}
1294340
public static function fa ($name, $options = [])
		{
			if (!isset($options[ 'class' ]))
				$options[ 'class' ] = '';
			$options[ 'class' ] = trim($options[ 'class' ] . ' fa fa-' . $name);

			return self::tag('i', '', $options);
		}
741409
public function decrypt($name)
    {
        $name = isset($this->options[ 'prefix' ])
            ? $this->options[ 'prefix' ] . $name
            : $name;

        if ($value = input()->cookie($name)) {
            return $this->crypt->decrypt($value);
        }

        return false;
    }
309004
public static function OverwriteAuthCookieOptions (array $options, $name = self::DEFAULT_CONNECTION_NAME) {
		static::$_defaultCookieOptions[$name] = $options + static::GetAuthCookieOptions($name);
	}
546458
public static function isEnabled(array $options, string $name, $default = false): bool
    {
        $enabled = $default;
        $options = self::normalize($options);

        if (array_key_exists('*', $options)) {
            $enabled = $options['*'];
        }

        if (array_key_exists($name, $options)) {
            $enabled = (bool) $options[$name];
        }

        return $enabled;
    }
1109730
public function set($name, $value, array $options = [])
    {
        $options = $this->options($options);
        $value   = parent::set($name, $value, $options);

        return setcookie(
            $this->normalize($name),
            $value,
            $options[self::OPTION_EXPIRE],
            $options[self::OPTION_PATH],
            $options[self::OPTION_DOMAIN],
            false,
            $options[self::OPTION_HTTP_ONLY]
        );
    }
779417
public function hasCookie($name)
    {
        if (!$this->request) {
            return $this->getRequest()->hasCookie($name);
        }
        return parent::hasCookie($name);
    }
64977
public function setCookie($name, $value)
    {
        if (strlen($name) == 0) {
            return false;
        }
        $this->cookies[] = array('name' => $name, 'value' => $value);
        return true;
    }
837460
public function channel($name, $options = [])
    {
        if (empty($this->_channels[$name])) {
            $this->_channels[$name] = new AMQPChannel($this->connection());
            if (!empty($options['prefetchCount'])) {
                $this->_channels[$name]->setPrefetchCount((int)$options['prefetchCount']);
            }
        }

        return $this->_channels[$name];
    }
928398
public static function save($name, $option = array())
	{
		$obj = self::getInstance($name);
		if ($obj)
		{
			return $obj->save($option);
		}
		else
		{
			return false;
		}
	}
119633
private function getOption(array $options, $name, $default = null, callable $type = null)
    {
        if (array_key_exists($name, $options)) {
            $result = $options[$name];
        } else {
            $result = $default;
        }
        if ($type && !call_user_func($type, $result)) {
            throw new InvalidArgumentException(
                "The provided option for {$name}: " . print_r($result, true) . " is invalid"
            );
        }

        return $result;
    }
431060
public function setCookie(array $options): self
    {
        if (isset($options['name']) && is_string($options['name'])) {
            //正常COOKIE的设定
            $this->cookies->add($options);
        } else {
            if (key($options) === 0) {
                //数组COOKIE的设定
                foreach ($options as $parent_name => $obj) {
                    $obj['name'] = $parent_name . '[' . $obj['name'] . ']';
                    $this->cookies->add($obj);
                }
            }
        }

        return $this;
    }
1235792
public function get($name, $options = null)
    {
        if ($this->has($name)) {
            return $this->resolve($name, $options);
        } else {
            $this->throwNotFound($name);
            return false;
        }
    }
1267070
protected function getOptionsList($name, $options)
    {
        if (empty($options)) {
            $options = $this->getOptionsFromModel($name);
        }

        return $options;
    }
661794
protected function hasOption($name, $shortcut = null)
    {
        return ($shortcut && array_key_exists($shortcut, $_GET)) ? true :
            array_key_exists($name, $_GET);
    }
251193
public static function Connect (array $options, $name = self::DEFAULT_CONNECTION_NAME) {
		foreach (['server_key', 'server_salt', 'client_key', 'client_salt'] as $key) {
			if (!isset($options[$key])) {
				throw CoreException::RaiseSystemError('クッキー認証の%sが設定されていません。CookieAuth::Connect([\'%s\' => 任意のパスキー])として設定を行ってください。', [$key, $key]);
			}
		}
		if (!isset($options['stretcher'])) {
			throw CoreException::RaiseSystemError('クッキー認証のstretcherが設定されていません。CookieAuth::Connect([\'stretcher\' => [一つ目のstretch, 二つ目のstretch, 三つ目のstretch]])として設定を行ってください。');
		}

		return static::OverwriteAuthCookieOptions ($options, $name);
	}