protected static detectPlugins ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : array | ||
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | |
리턴 | array |
protected static function detectPlugins(ObjectManagerInterface $objectManager)
{
$pluginConfigurations = array();
$classNames = $objectManager->get(ReflectionService::class)->getAllImplementationClassNamesForInterface(NodeCommandControllerPluginInterface::class);
foreach ($classNames as $className) {
$pluginConfigurations[$className] = array('object' => $objectManager->get($objectManager->getObjectNameByClassName($className)));
}
return $pluginConfigurations;
}