Jackalope\Transport\Jackrabbit\Client::getDcrValue PHP Method

getDcrValue() private method

This uses PropertyType but takes into account the special case that boolean false is encoded as string "false" which is otherwise true in php. false
private getDcrValue ( DOMElement $node ) : mixed
$node DOMElement a dcr:value xml element
return mixed the node value converted to the specified type.
    private function getDcrValue(DOMElement $node)
    {
        $type = $node->getAttribute('dcr:type');
        if (PropertyType::TYPENAME_BOOLEAN == $type && 'false' == $node->nodeValue) {
            return false;
        }
        return $this->valueConverter->convertType($node->nodeValue, PropertyType::valueFromName($type));
    }