1.14.0
Extended Graph::label() and Resource::label() to accept custom label property list
Instead of relying solely on the predefined list of label properties, you can also use a custom list (with shortened URIs) from now on:
$res1 = new Resource('http://foo', new Graph());
$res1->addLiteral('http://xmlns.com/foaf/0.1/name', 'hello world');
echo $res1->label(null, ['foaf:name']);
// outputs: hello world
Do the same for Graph::label()
accordingly.
Full Changelog: 1.13.1...1.14.0