examples/phpcr/simple/server.php
public function createSession($sessionName, $name, $password)
    {
        $credentials = new \PHPCR\SimpleCredentials($name, $password);
        $this->sessions[$sessionName] = $this->repository->login($credentials);
    }
public function createSession($sessionName, $name, $password)
    {
        $credentials = new \PHPCR\SimpleCredentials($name, $password);
        $this->sessions[$sessionName] = $this->repository->login($credentials);
    }
/* Create named session