src/SessionNamespace.php
public function createNamespace(string $name): SessionInterface
    {
        $name = $this->getNamespacedKey($name);
        return new SessionNamespace($name, $this->session);
    }
public function createNamespace(string $name): SessionInterface
    {
        $name = $this->getNamespacedKey($name);
        return new SessionNamespace($name, $this->session);
    }
public function createNamespace ( string $ name ) : SessionInterface { $ name = $ this -> getNamespacedKey ( $ name ) ; return new SessionNamespace ( $ name , $ this -> session ) ; }
Create a new namespaced section of this session to avoid clashes.

@param string $name The namespace of the session

@return SessionInterface
Create a new namespaced section of this session to avoid clashes .