Cookie
classe Cookie (Voir la source)
Méthodes
                    static bool
                
                
                    has(string $key, bool $strict = false)
        
                                            
                
            Check for existence of a key in the session collection
                    static bool
                
                
                    isEmpty()
        
                                            
                
            Check if a collection is empty.
                    static mixed
                
                
                    get(string $key, mixed $default = null)
        
                                            
                
            Allows you to retrieve a value or collection of cookie value.
                    static array
                
                
                    all()
        
                                            
                
            Return all values of COOKIE
                    static bool
                
                
                    set(string|int $key, mixed $data, int $expirate = 3600, string $path = null, string $domain = null, bool $secure = false, bool $http = true)
        
                                            
                
            Add a value to the cookie table.
                    static mixed
                
                
                    remove(string $key)
        
                                            
                
            Delete an entry in the table
Détails
        
                static            bool
    has(string $key, bool $strict = false)
        
    
    Check for existence of a key in the session collection
        
                static            bool
    isEmpty()
        
    
    Check if a collection is empty.
        
                static            mixed
    get(string $key, mixed $default = null)
        
    
    Allows you to retrieve a value or collection of cookie value.
        
                static            array
    all()
        
    
    Return all values of COOKIE
        
                static            bool
    set(string|int $key, mixed $data, int $expirate = 3600, string $path = null, string $domain = null, bool $secure = false, bool $http = true)
        
    
    Add a value to the cookie table.
        
                static            mixed
    remove(string $key)
        
    
    Delete an entry in the table