examples/phpcr/RemoteSessionServer.php
public function getPropertyValue($path, $cb)
    {
        $value = null;
        try {
            $value = $this->crSession->getProperty($path)->getValue();
        } catch (\Exception $e) {
            $this->remote->setException(get_class($e), $e->getMessage());
        }
        $this->remote->setValue($value, function() use ($cb) {
            $cb();
        });
    }
public function getPropertyValue($path, $cb)
    {
        $value = null;
        try {
            $value = $this->crSession->getProperty($path)->getValue();
        } catch (\Exception $e) {
            $this->remote->setException(get_class($e), $e->getMessage());
        }
        $this->remote->setValue($value, function() use ($cb) {
            $cb();
        });
    }
/* Get value of the property at defined path