public function setMemory($memory = null) {
		$this->memory = $memory !== null ? (bool) $memory : null;

		return $this;
	}
public function setMemory($memory = null) {
		$this->memory = $memory !== null ? (bool) $memory : null;

		return $this;
	}
public function setMemory ( $ memory = null ) { $ this -> memory = $ memory !== null ? ( bool ) $ memory : null ; return $ this ; }
Sets whether to keep the database in memory only

@param bool|null $memory whether to keep the database in memory only
@return static this instance for chaining
Sets whether to keep the database in memory only