PHP Class Phprest\Service\Logger\Config

Inheritance: implements Phprest\Service\Configurable
Show file Open project: phprest/phprest Class Usage Examples

Public Properties

Property Type Description
$handlers Monolog\Handler\HandlerInterface[]
$name string

Public Methods

Method Description
__construct ( string $name, array $handlers = [] )
getServiceName ( ) : string

Method Details

__construct() public method

public __construct ( string $name, array $handlers = [] )
$name string
$handlers array

getServiceName() public static method

public static getServiceName ( ) : string
return string

Property Details

$handlers public property

public HandlerInterface[],Monolog\Handler $handlers
return Monolog\Handler\HandlerInterface[]

$name public property

public string $name
return string