VCard
Splitter.
This class is responsible for splitting up VCard objects.
It is assumed that the input stream contains 1 or more VCARD objects. This class checks for BEGIN:VCARD and END:VCARD and parses each encountered component individually.
- Full name:
\Sabre\VObject\Splitter\VCard
- This class implements:
\Sabre\VObject\Splitter\SplitterInterface
Properties
input
File handle.
parser
Persistent parser.
Methods
__construct
Constructor.
The splitter should receive an readable file stream as its input.
Parameters:
Parameter | Type | Description |
---|---|---|
$input |
resource | |
$options |
int | parser options, see the OPTIONS constants |
getNext
Every time getNext() is called, a new object will be parsed, until we hit the end of the stream.
When the end is reached, null will be returned.
Automatically generated on 2025-03-18