php-extended/php-information-profiler

This package is abandoned and no longer maintained. The author suggests using the php-extended/php-information-object package instead.

An intermediary library that profiles the working time of informations

3.2.13 2021-06-25 18:05 UTC

This package is auto-updated.

Last update: 2021-07-04 09:35:05 UTC


README

An intermediary library that profiles the working time of informations.

coverage build status

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": "^3",
		...
	}

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).