Skip to content

1.0.0

Choose a tag to compare

@zozlak zozlak released this 01 Nov 09:28
· 68 commits to master since this release

Backward-incompatible changes

  • All interfaces have been renamed so that their name ends with Interface to follow an interface naming convention which is predominant in modern PHP.
  • rdfInterface\DatasetInterface extends rdfInterface\QuadIteratorAggregateInterface (a strongly-typed IteratorAggregate with an optional filtering) instad of rdfInterface\QuadIteratorInterface (a strongly-typed Iterator) which laregely decouples implementation of the iterator from the dataset implementation.

New features

  • Allowing rdfInterface\Dataset::getOffset(0) and rdfInterface\Dataset::offsetExists(0) as a syntax for getting any quad out of a dataset and checking if a dataset is not empty.
    This allows the $dataset[0] ?? $defaultQuad syntax for safely getting a single quad out of a dataset.
  • rdfInterface\QuadIteratorAggregateInterface added.