for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Micro framework package.
*
* (c) Stanislau Komar <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Micro\Plugin\Logger\Monolog\Configuration\Logger;
use Micro\Framework\Kernel\Configuration\PluginRoutingKeyConfiguration;
class LoggerConfiguration extends PluginRoutingKeyConfiguration implements LoggerConfigurationInterface
{
public const CFG_HANDLER_LIST = 'LOGGER_%s_HANDLERS';
/**
* {@inheritDoc}
public function getHandlerList(): iterable
$handlerListSource = $this->get(self::CFG_HANDLER_LIST, MonologPluginConfigurationInterface::HANDLER_DEFAULT);
return $this->explodeStringToArray($handlerListSource);
}
public function getName(): string
return $this->configRoutingKey;