5use PHPUnit\Framework\TestCase;
11 $vcard =
Reader::read(file_get_contents(dirname(__FILE__) .
'/issue64.vcf'));
13 $vcard = $vcard->serialize();
17 $this->assertInstanceOf(
'Sabre\\VObject\\Component\\VCard', $converted);
An exception for terminatinating execution or to throw for unit testing.
static read($data, $options=0, $charset='UTF-8')
Parses a vCard or iCalendar object, and returns the top component.