Skip to content

version 3.2.0

Compare
Choose a tag to compare
@nyamsprod nyamsprod released this 16 Jan 10:17
· 1508 commits to master since this release

New Interfaces:

  • The \Bakame\Csv\Reader implements the JsonSerializable Interface
  • The \Bakame\Csv\Reader implements the ArrayAccess Interface

New Methods:

  • \Bakame\Csv\Reader::toHTML returns the CSV as a html table
  • \Bakame\Csv\Reader::setFilter adds filtering capabilities to \Bakame\Csv\Reader
  • \Bakame\Csv\Reader::setSortBy adds sorting capabilities to \Bakame\Csv\Reader
  • \Bakame\Csv\Reader::setOffset and \Bakame\Csv\Reader::setLimit add limiting capabilities to \Bakame\Csv\Reader
  • \Bakame\Csv\Reader::query adds manual filtering capabilities
  • The \Bakame\Csv\Codec adds setter and getter methods for the $flags property.

Update:

  • The \Bakame\Csv\Codec constructor has a new optional parameter $flags to set the splFileObject flag property

Deprecated

  • The \Bakame\Csv\Reader::fetchOne and \Bakame\Csv\Reader::fetchValue are deprecated and are to be remove in the next major point release