public static function start($name = null)
	{
		if (session_status() !== PHP_SESSION_NONE) {
			throw new \RuntimeException('Can\'t start a new session.');
		}

		if ($name !== null) {
			session_name($name);
		}

		session_start();
	}
public static function start($name = null)
	{
		if (session_status() !== PHP_SESSION_NONE) {
			throw new \RuntimeException('Can\'t start a new session.');
		}

		if ($name !== null) {
			session_name($name);
		}

		session_start();
	}
public static function start ( $ name = null ) { if ( session_status ( ) !== PHP_SESSION_NONE ) { throw new \ RuntimeException ( 'Can\'t start a new session.' ) ; } if ( $ name !== null ) { session_name ( $ name ) ; } session_start ( ) ; }
Initialize the session, if none exists.

@param $name = null
@return null
@throws \RuntimeException on failure.
Initialize the session if none exists .