Phprest\Config::getLoggerService PHP Méthode

getLoggerService() public méthode

public getLoggerService ( ) : Service
Résultat Phprest\Service\Logger\Service
    public function getLoggerService()
    {
        return $this->loggerService;
    }

Usage Example

Exemple #1
0
 public function testLoggerGetterSetter()
 {
     $config = new Config('phprest', 1, true);
     $config->setLoggerConfig(new LoggerConfig('test'));
     $config->setLoggerService(new LoggerService());
     $this->assertInstanceOf('\\Phprest\\Service\\Logger\\Config', $config->getLoggerConfig());
     $this->assertInstanceOf('\\Phprest\\Service\\Logger\\Service', $config->getLoggerService());
 }
All Usage Examples Of Phprest\Config::getLoggerService