src/Propel/Runtime/ServiceContainer/StandardServiceContainer.php
StandardServiceContainer
has 33 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class StandardServiceContainer implements ServiceContainerInterface
{
/**
* Expected version of the configuration file.
*
File StandardServiceContainer.php
has 289 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* MIT License. This file is part of the Propel package.
* For the full copyright and license information, please view the LICENSE
Method buildLogger
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function buildLogger(string $name = 'defaultLogger'): LoggerInterface
{
if (!isset($this->loggerConfigurations[$name])) {
return $name !== 'defaultLogger' ? $this->getLogger() : new NullLogger();
}