PHP Class Cascade\Config\Loader\ClassLoader\FormatterLoader

See also: ClassLoader
Author: Raphael Antonmattei ([email protected])
Inheritance: extends Cascade\Config\Loader\ClassLoader
ファイルを表示 Open project: theorchard/monolog-cascade Class Usage Examples

Public Methods

Method Description
__construct ( array $formatterOptions ) Constructor
initExtraOptionsHandlers ( ) Loads the closures as option handlers. Add handlers to this function if you want to support additional custom options.

Method Details

__construct() public method

Constructor
See also: ClassLoader::__construct
See also: Monolog\Formatter classes for formatter options
public __construct ( array $formatterOptions )
$formatterOptions array Formatter options

initExtraOptionsHandlers() public static method

The syntax is the following: array( '\Full\Absolute\Namespace\ClassName' => array( 'myOption' => Closure ), ... ) You can use the '*' wildcard if you want to set up an option for all Formatter classes
public static initExtraOptionsHandlers ( )