/** * Get manager instance. * * @param Zikula_Core $core Core instance (optional). * * @return Zikula_ServiceManager */ public static function getManager(Zikula_Core $core = null) { if (self::$serviceManager) { return self::$serviceManager; } self::$serviceManager = $core->getServiceManager(); return self::$serviceManager; }
public static function setContainer(ContainerInterface $container) { self::$serviceManager = $container; }