php-extended/php-information-profiler

An intermediary library that profiles the working time of informations


Keywords
profile, datetime, information
License
MIT

Documentation

php-information-profiler

An intermediary library that profiles the working time of informations.

Installation

The installation of this library is made via composer. Download composer.phar from their website. Then add to your composer.json :

	"require": {
		...
		"php-extended/php-information-profiler": "^1",
		...
	}

Then run php composer.phar update to install this library. The autoloading of all classes of this library is made through composer's autoloader.

Basic Usage

This library is made to have some logger that logs the fact that an information was processes, either successfully or that the processing failed.

As such, it should be used as a decorator to another visitor :


use PhpExtended\Information\InformationProfiler;

$profiler = new InformationProfiler();

/* @var $information \PhpExtended\Information\InformationInterface */
$information->visit($profiler);

License

MIT (See license file).