getConfig() public method

public getConfig ( )
Exemplo n.º 1
0
 /**
  * @param AbstractObjectType $type
  *
  * @throws ConfigurationException
  */
 protected function assertInterfaceImplementationCorrect(AbstractObjectType $type)
 {
     if (!$type->getInterfaces()) {
         return;
     }
     foreach ($type->getInterfaces() as $interface) {
         foreach ($interface->getConfig()->getFields() as $intField) {
             $this->assertFieldsIdentical($intField, $type->getConfig()->getField($intField->getName()), $interface);
         }
     }
 }