Methods summary
	
		
			 protected static
			array
			
			
		 | 
		
		#
		getInvalidCharacters( )
		
			Gets an array of invalid cookie characters 
		 
		
			Gets an array of invalid cookie characters 
				Returns
				
					array
				 
		 
		  | 
	
	
		
			 public 
			
			
			
		 | 
		
		#
		__construct( array $data = array() )
		
			
		 
		
			
				Parameters
				
					- $data
 
					- Array of cookie data provided by a Cookie parser
 
				  
		 
		  | 
	
	
		
			 public 
			array
			
			
		 | 
		
		#
		toArray( )
		
			Get the cookie as an array 
		 
		
			Get the cookie as an array 
				Returns
				
					array
				 
				Implementation of
				
		 
		  | 
	
	
		
			 public 
			string
			
			
		 | 
		
		#
		getName( )
		
		
			Get the cookie name 
				Returns
				
					string
				 
		 
		  | 
	
	
		
			 public 
			Guzzle\Plugin\Cookie\Cookie
			
			
		 | 
		
		#
		setName( string $name )
		
		
			Set the cookie name 
				Parameters
				
				Returns
				
		 
		  | 
	
	
		
			 public 
			string
			
			
		 | 
		
		#
		getValue( )
		
		
			Get the cookie value 
				Returns
				
					string
				 
		 
		  | 
	
	
		
			 public 
			Guzzle\Plugin\Cookie\Cookie
			
			
		 | 
		
		#
		setValue( string $value )
		
		
			Set the cookie value 
				Parameters
				
				Returns
				
		 
		  | 
	
	
		
			 public 
			string|null
			
			
		 | 
		 | 
	
	
		
			 public 
			Guzzle\Plugin\Cookie\Cookie
			
			
		 | 
		
		#
		setDomain( string $domain )
		
			Set the domain of the cookie 
		 
		
			Set the domain of the cookie 
				Parameters
				
				Returns
				
		 
		  | 
	
	
		
			 public 
			string
			
			
		 | 
		
		#
		getPath( )
		
		
			Get the path 
				Returns
				
					string
				 
		 
		  | 
	
	
		
			 public 
			Guzzle\Plugin\Cookie\Cookie
			
			
		 | 
		
		#
		setPath( string $path )
		
			Set the path of the cookie 
		 
		
			Set the path of the cookie 
				Parameters
				
				Returns
				
		 
		  | 
	
	
		
			 public 
			integer|null
			
			
		 | 
		
		#
		getMaxAge( )
		
			Maximum lifetime of the cookie in seconds 
		 
		
			Maximum lifetime of the cookie in seconds 
				Returns
				
					integer|null
				 
		 
		  | 
	
	
		
			 public 
			Guzzle\Plugin\Cookie\Cookie
			
			
		 | 
		
		#
		setMaxAge( integer $maxAge )
		
			Set the max-age of the cookie 
		 
		
			Set the max-age of the cookie 
				Parameters
				
					- $maxAge
 
					- Max age of the cookie in seconds
 
				  
				Returns
				
		 
		  | 
	
	
		
			 public 
			mixed
			
			
		 | 
		
		#
		getExpires( )
		
			The UNIX timestamp when the cookie expires 
		 
		
			The UNIX timestamp when the cookie expires 
				Returns
				
					mixed
				 
		 
		  | 
	
	
		
			 public 
			Guzzle\Plugin\Cookie\Cookie
			
			
		 | 
		
		#
		setExpires( integer $timestamp )
		
			Set the unix timestamp for which the cookie will expire 
		 
		
			Set the unix timestamp for which the cookie will expire 
				Parameters
				
					- $timestamp
 
					- Unix timestamp
 
				  
				Returns
				
		 
		  | 
	
	
		
			 public 
			mixed
			
			
		 | 
		
		#
		getVersion( )
		
			Version of the cookie specification. RFC 2965 is 1 
		 
		
			Version of the cookie specification. RFC 2965 is 1 
				Returns
				
					mixed
				 
		 
		  | 
	
	
		
			 public 
			Guzzle\Plugin\Cookie\Cookie
			
			
		 | 
		
		#
		setVersion( string|integer $version )
		
		
			Set the cookie version 
				Parameters
				
				Returns
				
		 
		  | 
	
	
		
			 public 
			null|boolean
			
			
		 | 
		
		#
		getSecure( )
		
			Get whether or not this is a secure cookie 
		 
		
			Get whether or not this is a secure cookie 
				Returns
				
					null|boolean
				 
		 
		  | 
	
	
		
			 public 
			Guzzle\Plugin\Cookie\Cookie
			
			
		 | 
		
		#
		setSecure( boolean $secure )
		
			Set whether or not the cookie is secure 
		 
		
			Set whether or not the cookie is secure 
				Parameters
				
					- $secure
 
					- Set to true or false if secure
 
				  
				Returns
				
		 
		  | 
	
	
		
			 public 
			null|boolean
			
			
		 | 
		
		#
		getDiscard( )
		
			Get whether or not this is a session cookie 
		 
		
			Get whether or not this is a session cookie 
				Returns
				
					null|boolean
				 
		 
		  | 
	
	
		
			 public 
			Guzzle\Plugin\Cookie\Cookie
			
			
		 | 
		
		#
		setDiscard( boolean $discard )
		
			Set whether or not this is a session cookie 
		 
		
			Set whether or not this is a session cookie 
				Parameters
				
					- $discard
 
					- Set to true or false if this is a session cookie
 
				  
				Returns
				
		 
		  | 
	
	
	
	
	
	
		
			 public 
			array
			
			
		 | 
		
		#
		getPorts( )
		
			Get an array of acceptable ports this cookie can be used with 
		 
		
			Get an array of acceptable ports this cookie can be used with 
				Returns
				
					array
				 
		 
		  | 
	
	
		
			 public 
			Guzzle\Plugin\Cookie\Cookie
			
			
		 | 
		
		#
		setPorts( array $ports )
		
			Set a list of acceptable ports this cookie can be used with 
		 
		
			Set a list of acceptable ports this cookie can be used with 
				Parameters
				
					- $ports
 
					- Array of acceptable ports
 
				  
				Returns
				
		 
		  | 
	
	
		
			 public 
			boolean
			
			
		 | 
		
		#
		getHttpOnly( )
		
			Get whether or not this is an HTTP only cookie 
		 
		
			Get whether or not this is an HTTP only cookie 
				Returns
				
					boolean
				 
		 
		  | 
	
	
		
			 public 
			Guzzle\Plugin\Cookie\Cookie
			
			
		 | 
		
		#
		setHttpOnly( boolean $httpOnly )
		
			Set whether or not this is an HTTP only cookie 
		 
		
			Set whether or not this is an HTTP only cookie 
				Parameters
				
					- $httpOnly
 
					- Set to true or false if this is HTTP only
 
				  
				Returns
				
		 
		  | 
	
	
		
			 public 
			array
			
			
		 | 
		
		#
		getAttributes( )
		
			Get an array of extra cookie data 
		 
		
			Get an array of extra cookie data 
				Returns
				
					array
				 
		 
		  | 
	
	
		
			 public 
			null|string
			
			
		 | 
		
		#
		getAttribute( string $name )
		
			Get a specific data point from the extra cookie data 
		 
		
			Get a specific data point from the extra cookie data 
				Parameters
				
					- $name
 
					- Name of the data point to retrieve
 
				  
				Returns
				
					null|string
				 
		 
		  | 
	
	
		
			 public 
			Guzzle\Plugin\Cookie\Cookie
			
			
		 | 
		
		#
		setAttribute( string $name, string $value )
		
			Set a cookie data attribute 
		 
		
			Set a cookie data attribute 
				Parameters
				
					- $name
 
					- Name of the attribute to set
 
					- $value
 
					- Value to set
 
				  
				Returns
				
		 
		  | 
	
	
		
			 public 
			boolean
			
			
		 | 
		
		#
		matchesPath( string $path )
		
			Check if the cookie matches a path value 
		 
		
			Check if the cookie matches a path value 
				Parameters
				
					- $path
 
					- Path to check against
 
				  
				Returns
				
					boolean
				 
		 
		  | 
	
	
		
			 public 
			boolean
			
			
		 | 
		
		#
		matchesDomain( string $domain )
		
			Check if the cookie matches a domain value 
		 
		
			Check if the cookie matches a domain value 
				Parameters
				
					- $domain
 
					- Domain to check against
 
				  
				Returns
				
					boolean
				 
		 
		  | 
	
	
		
			 public 
			boolean
			
			
		 | 
		
		#
		matchesPort( integer $port )
		
			Check if the cookie is compatible with a specific port 
		 
		
			Check if the cookie is compatible with a specific port 
				Parameters
				
				Returns
				
					boolean
				 
		 
		  | 
	
	
		
			 public 
			boolean
			
			
		 | 
		
		#
		isExpired( )
		
			Check if the cookie is expired 
		 
		
			Check if the cookie is expired 
				Returns
				
					boolean
				 
		 
		  | 
	
	
		
			 public 
			boolean|string
			
			
		 | 
		
		#
		validate( )
		
			Check if the cookie is valid according to RFC 6265 
		 
		
			Check if the cookie is valid according to RFC 6265 
				Returns
				
					boolean|string Returns true if valid or an error message if invalid
				 
		 
		  |