public function save() : void
    {
        if ($this->base instanceof Persistable) {
            $this->persister->save($this->base);

            if ($this->logger) {
                $this->logger->info('Model saved successully');
            }
        }
    }
public function save() : void
    {
        if ($this->base instanceof Persistable) {
            $this->persister->save($this->base);

            if ($this->logger) {
                $this->logger->info('Model saved successully');
            }
        }
    }
public function save ( ) : void { if ( $ this -> base instanceof Persistable ) { $ this -> persister -> save ( $ this -> base ) ; if ( $ this -> logger ) { $ this -> logger -> info ( 'Model saved successully' ) ; } } }
Save the model using the user-provided persister.
Save the model using the user - provided persister .