Namespace om\ICal\Parser

Classes
ParseLimits

Limits for untrusted input; exceeding one throws ResourceLimitException.

Parser

Configurable iCalendar parser, see ICal::parser(). $result = ICal::parser()->mode(ParserMode::Strict)->limits(new ParseLimits(maxFileSize: 1_000_000))->parse($ics); The configuration is immutable: every setter returns a new parser.

ParseResult
ParseWarning

A problem the permissive parser repaired or skipped.

Tokenizer

Turns iCalendar data into content lines. Lines that are not valid content lines are reported through the $invalid callback (with the line and its number) and skipped.

Enums
ParserMode