StoreInterface
interface StoreInterface (View source)
Represents a place for temporarily storing state related to a login or registration attempt.
Methods
Load a StoreInterface from the given request and return it if it exists
Update the state in the store. Will override existing state. To add to the existing state use addState().
Add and keep track of methods that have been verified
Details
        
                            
    __construct(Member $member)
        
    
    Create a new StoreInterface, optionally given an HTTPRequest object
        
                            StoreInterface
    save(SS_HTTPRequest $request)
        
    
    Persist the stored state for the given request
        
                static            StoreInterface|null
    load(SS_HTTPRequest $request)
        
    
    Load a StoreInterface from the given request and return it if it exists
        
                static            void
    clear(SS_HTTPRequest $request)
        
    
    Clear any stored state for the given request
        
                            array
    getState()
        
    
    Get the state from the store
        
                            StoreInterface
    setState(array $state)
        
    
    Update the state in the store. Will override existing state. To add to the existing state use addState().
        
                            StoreInterface
    addState(array $state)
        
    
    Add to the state in the store
        
                            Member|null
    getMember()
        
    
    No description
        
                            StoreInterface
    setMember(Member $member)
        
    
    No description
        
                            string|null
    getMethod()
        
    
    No description
        
                            StoreInterface
    setMethod(string|null $method)
        
    
    No description
        
                            StoreInterface
    addVerifiedMethod(string $method)
        
    
    Add and keep track of methods that have been verified
        
                            array
    getVerifiedMethods()
        
    
    Get the list of methods that have been verified