src/Stores/RepositoryStore.php
protected function flush()
    {
        $method = $this->methods['flush'];

        if (!method_exists($this->storage, $method) || !is_callable([$this->storage, $method])) {
            throw new FlushMethodNotFoundException(get_class($this->storage), $method);
        }

        $this->storage->$method();

        return true;
    }
protected function flush()
    {
        $method = $this->methods['flush'];

        if (!method_exists($this->storage, $method) || !is_callable([$this->storage, $method])) {
            throw new FlushMethodNotFoundException(get_class($this->storage), $method);
        }

        $this->storage->$method();

        return true;
    }
protected function flush ( ) { $ method = $ this -> methods [ 'flush' ] ; if ( ! method_exists ( $ this -> storage , $ method ) || ! is_callable ( [ $ this -> storage , $ method ] ) ) { throw new FlushMethodNotFoundException ( get_class ( $ this -> storage ) , $ method ) ; } $ this -> storage -> $ method ( ) ; return true ; }
Flushes changes to storage.

@throws \League\FactoryMuffin\Exceptions\FlushMethodNotFoundException

@return bool
Flushes changes to storage .