Repository navigation
3.0.0
Tagged on 2019-08-13.
Added
Tomaj\Scraper\AuthorandTomaj\Scraper\Sectionvalue objects withid()andname().SchemaParserreads sections (with their ids) fromarticleTermsentries of typeCategory;articleSectionis used whenarticleTermsis missing.
Changed
- BREAKING CHANGE:
Meta::addAuthor()takes anAuthorandMeta::addSection()takes aSection;getAuthors()/getSections()return these objects instead of arrays / strings. Replace$author['name']with$author->name()and$author['id']with$author->id().
Full Changelog: 2.0.1...3.0.0