Table
class Table
Relay Table is a persistent per-worker hash table that can store arbitrary data.
Methods
Create a Relay table instance.
Returns a key, or null if key doesn't exist.
Pluck a key from a cached key.
Set a key and its value.
Check if a key exists in the table.
Remove a key from the table.
The number of keys stored in the table.
Get the table's namespace.
Returns all table namespaces.
Removes all keys from the table.
Removes all keys from all tables.
Details
        at line 4384
                            
    __construct(string|null $namespace = null, int $serializer = Relay::SERIALIZER_PHP)
        
    
    Create a Relay table instance.
        at line 4392
                            mixed
    get(string $key)
        
    
    Returns a key, or null if key doesn't exist.
        at line 4401
                            mixed
    pluck(string $key, string $field)
        
    
    Pluck a key from a cached key.
        at line 4410
                            bool
    set(string $key, mixed $value)
        
    
    Set a key and its value.
        at line 4418
                            bool
    exists(string $key)
        
    
    Check if a key exists in the table.
        at line 4426
                            bool
    delete(string $key)
        
    
    Remove a key from the table.
        at line 4433
                            int
    count()
        
    
    The number of keys stored in the table.
        at line 4440
                            string|null
    namespace()
        
    
    Get the table's namespace.
        at line 4447
                static            array
    namespaces()
        
    
    Returns all table namespaces.
        at line 4454
                            bool
    clear()
        
    
    Removes all keys from the table.
        at line 4461
                static            int
    clearAll()
        
    
    Removes all keys from all tables.