Skip to content

2.0.0

Compare
Choose a tag to compare
@zozlak zozlak released this 01 Sep 17:42
· 8 commits to master since this release

Backward-incompatible changes

  • termTemplates\QuadTemplate is now immutable. You can use with*() methods to get a modified copy.
  • termTemplates\DatasetExtractors class dropped.

New features

  • termTemplates\QuadTemplate and termTemplates\PredicateTemplate provide withSubject(), withPredicate(), withObject(), withGraph() and withNegate() methods allowing to modify the template.
  • termTemplates\PredicateTemplate::__construct() takes the $negate parameter just like termTemplates\QuadTemplate::__construct().
  • termTemplates\ValueTemplate, termTemplates\NamedNodeTemplate and termTemplates\LiteralTemplate constructor accepts array of values. In such a case condition has to be fulfilled on any value.