src/mako/session/Session.php
public function commit(): void
	{
		// Replace old flash data with new

		$this->sessionData['mako.flashdata'] = $this->flashData;

		// Write session data

		if(!$this->destroyed)
		{
			$this->store->write($this->sessionId, $this->sessionData, $this->options['data_ttl']);
		}
	}
public function commit(): void
	{
		// Replace old flash data with new

		$this->sessionData['mako.flashdata'] = $this->flashData;

		// Write session data

		if(!$this->destroyed)
		{
			$this->store->write($this->sessionId, $this->sessionData, $this->options['data_ttl']);
		}
	}
public function commit ( ) : void { // Replace old flash data with new $ this -> sessionData [ 'mako.flashdata' ] = $ this -> flashData ; // Write session data if ( ! $ this -> destroyed ) { $ this -> store -> write ( $ this -> sessionId , $ this -> sessionData , $ this -> options [ 'data_ttl' ] ) ; } }
Writes data to session store.
Writes data to session store .