Пример #1
0
 /**
  * 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;
     });
 }
Пример #2
0
 /**
  * @depends testGetSpecifications
  * @group default
  */
 public function testIsSpecified()
 {
     $this->assertTrue(VCard::isSpecified('fn'));
 }