getChildClasses() публичный Метод

Return the class names or interfaces that children of this document must be an instance of.
public getChildClasses ( ) : string[]
Результат string[]
Пример #1
0
 private function unrestrictChildClass(string $class, ClassMetadata $metadata)
 {
     if (!$class) {
         return;
     }
     if (!($childClasses = $metadata->getChildClasses())) {
         return;
     }
     $childClasses[] = $class;
     $metadata->setChildClasses($childClasses);
 }
 /**
  * @depends testLoadChildClassesMapping
  * @param ClassMetadata $class
  */
 public function testChildClassesMapping($class)
 {
     $this->assertEquals(array('stdClass'), $class->getChildClasses());
 }