Abstract parser.
This class serves as a base-class for the different parsers.
const OPTION_FORGIVING = 1
const OPTION_IGNORE_INVALID_LINES = 2
protected integer $options
Bitmask of parser options
void Sabre\VObject\Parser\Parser::__construct(mixed $input, integer $options)
Creates the parser.
Optionally, it's possible to parse the input stream here.
array Sabre\VObject\Parser\Parser::parse(mixed $input, integer|null $options)
This method starts the parsing process.
If the input was not supplied during construction, it's possible to pass it here instead.
If either input or options are not supplied, the defaults will be used.
void Sabre\VObject\Parser\Parser::setInput(mixed $input)
Sets the input data
There was an error while loading. Please reload this page.