Phprest\Config::getLoggerConfig PHP Method

getLoggerConfig() public method

public getLoggerConfig ( ) : Config
return Phprest\Service\Logger\Config
    public function getLoggerConfig()
    {
        return $this->loggerConfig;
    }

Usage Example

示例#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::getLoggerConfig