public function create_cookie( $name, $value, $minutes = 0, $path = null, $domain = null, $secure = false, $httponly = true ) {
		$expire = ( 0 === $minutes ) ? 0 : ( time() + $minutes * MINUTE_IN_SECONDS );

		return new Cookie( $name, $value, $expire, $path ?: COOKIEPATH, $domain ?: COOKIE_DOMAIN, $secure, $httponly );
	}
public function create_cookie( $name, $value, $minutes = 0, $path = null, $domain = null, $secure = false, $httponly = true ) {
		$expire = ( 0 === $minutes ) ? 0 : ( time() + $minutes * MINUTE_IN_SECONDS );

		return new Cookie( $name, $value, $expire, $path ?: COOKIEPATH, $domain ?: COOKIE_DOMAIN, $secure, $httponly );
	}
public function create_cookie ( $ name , $ value , $ minutes = 0 , $ path = null , $ domain = null , $ secure = false , $ httponly = true ) { $ expire = ( 0 === $ minutes ) ? 0 : ( time ( ) + $ minutes * MINUTE_IN_SECONDS ) ; return new Cookie ( $ name , $ value , $ expire , $ path ? : COOKIEPATH , $ domain ? : COOKIE_DOMAIN , $ secure , $ httponly ) ; }
Create a Cookie instance.

@param string      $name     The name of the cookie.
@param string|null $value    The value of the cookie.
@param int         $minutes  The time the cookie expires.
@param string      $path     The path on the server in which the cookie will be available on, default COOKIEPATH.
@param string|null $domain   The domain that the cookie is available to, default COOKIE_DOMAIN.
@param bool        $secure   Whether the cookie should only be transmitted over a secure HTTPS connection from the client.
@param bool        $httponly Whether the cookie will be made accessible only through the HTTP protocol.
@return Cookie
Create a Cookie instance .