namespace Friendica\Core\Hooks\Capabilities;
-use Friendica\Core\Hooks\Exceptions\HookInstanceException;
-
/**
* creates special instance and decorator treatments for given classes
*/
*/
class DiceInstanceManager implements ICanCreateInstances, ICanRegisterInstances
{
- protected $instance = [];
+ protected $instance = [];
protected $decorator = [];
/** @var Dice */
/** @var string channel for the auth_ejabbered script */
public const AUTH_JABBERED = 'auth_ejabberd';
/** @var string Default channel in case it isn't set explicit */
- public const DEFAULT = self::APP;
+ public const DEFAULT = self::APP;
/** @var string channel for console execution */
public const CONSOLE = 'console';
/** @var string channel for developer focused logging */
/**
* Creates a new PSR-3 compliant syslog logger instance
*
- * @param IManageConfigValues $config The system configuration
+ * @param IManageConfigValues $config The system configuration
*
* @return LoggerInterface The PSR-3 compliant logger instance
*
*/
public function create(IManageConfigValues $config): LoggerInterface
{
- $logOpts = $config->get('system', 'syslog_flags') ?? SyslogLoggerClass::DEFAULT_FLAGS;
+ $logOpts = $config->get('system', 'syslog_flags') ?? SyslogLoggerClass::DEFAULT_FLAGS;
$logFacility = $config->get('system', 'syslog_facility') ?? SyslogLoggerClass::DEFAULT_FACILITY;
$loglevel = SyslogLogger::mapLegacyConfigDebugLevel($config->get('system', 'loglevel'));