示例#1
0
 /**
  * Determine if the type is an actual extensible data interface.
  *
  * @param string $typeName
  * @return bool
  */
 private function isExtensibleAttributesImplemented($typeName)
 {
     try {
         $this->extensionAttributesFactory->getExtensibleInterfaceName($typeName);
         return true;
     } catch (\LogicException $e) {
         return false;
     }
 }