public function registerEnvironment()
    {

        // add the application instance to the environment
        Environment::singleton()->setAttribute(EnvironmentKeys::APPLICATION, $this);

        // create s simulated request/session ID whereas session equals request ID
        Environment::singleton()->setAttribute(EnvironmentKeys::SESSION_ID, $sessionId = SessionUtils::generateRandomString());
        Environment::singleton()->setAttribute(EnvironmentKeys::REQUEST_ID, $sessionId);
    }
public function registerEnvironment()
    {

        // add the application instance to the environment
        Environment::singleton()->setAttribute(EnvironmentKeys::APPLICATION, $this);

        // create s simulated request/session ID whereas session equals request ID
        Environment::singleton()->setAttribute(EnvironmentKeys::SESSION_ID, $sessionId = SessionUtils::generateRandomString());
        Environment::singleton()->setAttribute(EnvironmentKeys::REQUEST_ID, $sessionId);
    }
public function registerEnvironment ( ) { // add the application instance to the environment Environment :: singleton ( ) -> setAttribute ( EnvironmentKeys :: APPLICATION , $ this ) ; // create s simulated request/session ID whereas session equals request ID Environment :: singleton ( ) -> setAttribute ( EnvironmentKeys :: SESSION_ID , $ sessionId = SessionUtils :: generateRandomString ( ) ) ; Environment :: singleton ( ) -> setAttribute ( EnvironmentKeys :: REQUEST_ID , $ sessionId ) ; }
Registers the the application in the environment.

@return void
Registers the the application in the environment .