src/Core/Startup/ConfirmationTokenChain.php
protected function filteredTokens()
    {
        foreach ($this->tokens as $token) {
            if ($token->reloadRequired() || $token->reloadRequiredIfError()) {
                yield $token;
            }
        }
    }
protected function filteredTokens()
    {
        foreach ($this->tokens as $token) {
            if ($token->reloadRequired() || $token->reloadRequiredIfError()) {
                yield $token;
            }
        }
    }
protected function filteredTokens ( ) { foreach ( $ this -> tokens as $ token ) { if ( $ token -> reloadRequired ( ) || $ token -> reloadRequiredIfError ( ) ) { yield $ token ; } } }
Collect all tokens that require a redirect

@return \Generator
Collect all tokens that require a redirect