public static function flush()
    {
        /** @var static $self */
        $self = singleton(static::class);

        $self->getCache()->clear();

        if ($self->config()->get('regenerate_on_flush')) {
            $self->generateAllTabs();
        }
    }
public static function flush()
    {
        /** @var static $self */
        $self = singleton(static::class);

        $self->getCache()->clear();

        if ($self->config()->get('regenerate_on_flush')) {
            $self->generateAllTabs();
        }
    }
public static function flush ( ) { /** @var static $self */ $ self = singleton ( static :: class ) ; $ self -> getCache ( ) -> clear ( ) ; if ( $ self -> config ( ) -> get ( 'regenerate_on_flush' ) ) { $ self -> generateAllTabs ( ) ; } }
This function is triggered early in the request if the "flush" query
parameter has been set. Each class that implements Flushable implements
this function which looks after it's own specific flushing functionality.

@see FlushMiddleware
This function is triggered early in the request if the flush query parameter has been set . Each class that implements Flushable implements this function which looks after it s own specific flushing functionality .