private function setSaveHandler() {

		if (PHP_VERSION_ID >= 50400) {

			$this->storageEngine = new NativeSessionWrapper();

			if(!session_set_save_handler($this->storageEngine, FALSE)) {
				throw new \RuntimeException('Could not  set session save handler.');
			}

		}

	}
private function setSaveHandler() {

		if (PHP_VERSION_ID >= 50400) {

			$this->storageEngine = new NativeSessionWrapper();

			if(!session_set_save_handler($this->storageEngine, FALSE)) {
				throw new \RuntimeException('Could not  set session save handler.');
			}

		}

	}
private function setSaveHandler ( ) { if ( PHP_VERSION_ID >= 50400 ) { $ this -> storageEngine = new NativeSessionWrapper ( ) ; if ( ! session_set_save_handler ( $ this -> storageEngine , FALSE ) ) { throw new \ RuntimeException ( 'Could not  set session save handler.' ) ; } } }
set custom save handler for PHP 5.4+

@throws \RuntimeException
set custom save handler for PHP 5 . 4 +