## Class LoggerConfigurationAdapterPHP

Description

Implements interfaces:

- LoggerConfigurationAdapter

Converts PHP configuration files to a PHP array.

The file should only hold the PHP config array preceded by "return".

Example PHP config file:

1. <?php
2. return array(
3. 'rootLogger' => array(
4. 'level' => 'info',
5. 'appenders' => array('default')
6. ),
7. 'appenders' => array(
8. 'default' => array(
9. 'class' => 'LoggerAppenderEcho',
10. 'layout' => array(
11. 'class' => 'LoggerLayoutSimple'
12. )
13. )
14. )
15. )
16. ?>

- version: $Revision: 1343601 $
- since: 2.2
- license: Apache License, Version 2.0

Located in /log4php/configurators/LoggerConfigurationAdapterPHP.php (line 52)

Method Summary
void convert ( $url)
Methods
convert (line 54)

- access: public

void convert ( $url)

- $url

Implementation of:

LoggerConfigurationAdapter::convert()
  Converts the configuration file to PHP format usable by the configurator.

Documentation generated on Fri, 10 Apr 2026 12:21:03 +0900 by phpDocumentor 1.4.4