# Class LoggerConfigurationAdapterPHP

Converts PHP configuration files to a PHP array.

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

Example PHP config file:

    <?php
    return array(
      'rootLogger' => array(
        'level' => 'info',
        'appenders' => array('default')
      ),
      'appenders' => array(
        'default' => array(
          'class' => 'LoggerAppenderEcho',
          'layout' => array(
            'class' => 'LoggerLayoutSimple'
           )
        )
      )
    )
    ?>

  LoggerConfigurationAdapterPHP implements LoggerConfigurationAdapter

Package: log4php\configurators
License: Apache License, Version 2.0
Version: $Revision: 1343601 $
Since: 2.2
Located at configurators/LoggerConfigurationAdapterPHP.php

Methods summary
`public` | # `convert( mixed $url )` Converts the configuration file to PHP format usable by the configurator. Converts the configuration file to PHP format usable by the configurator.

#### Implementation of

`LoggerConfigurationAdapter::convert()`