/** * Return an iterator over all Properties in this container which are not * defined. * @return \Iterator */ public function getUndefinedProperties() { return new \CallbackFilterIterator($this, function ($current) { \assert($current instanceof Property); return VCard::isSpecified($current->getName()) === false; }); }
/** * @depends testGetSpecifications * @group default */ public function testIsSpecified() { $this->assertTrue(VCard::isSpecified('fn')); }