src/SessionHandler.php
public function open($savePath, $sessionName): bool
    {
        $sessionId = session_id();

        $identifier = $this->cryptProvider->makeSessionIdentifier($sessionId);

        while (!$this->storageDriver->lock($identifier)) {
            usleep(1000);
        }

        return true;
    }
public function open($savePath, $sessionName): bool
    {
        $sessionId = session_id();

        $identifier = $this->cryptProvider->makeSessionIdentifier($sessionId);

        while (!$this->storageDriver->lock($identifier)) {
            usleep(1000);
        }

        return true;
    }
public function open ( $ savePath , $ sessionName ) : bool { $ sessionId = session_id ( ) ; $ identifier = $ this -> cryptProvider -> makeSessionIdentifier ( $ sessionId ) ; while ( ! $ this -> storageDriver -> lock ( $ identifier ) ) { usleep ( 1000 ) ; } return true ; }
Opens the session.

@SuppressWarnings(PHPMD.UnusedFormalParameter)

@param  string $savePath    The path where the session files will be saved.
@param  string $sessionName The name of the session
@return bool
Opens the session .