protected function getInterfaceNamesFromIntroductions(array $interfaceIntroductions) { $interfaceNames = []; foreach ($interfaceIntroductions as $introduction) { $interfaceNames[] = '\\' . $introduction->getInterfaceName(); } return $interfaceNames; }