Skip to content

rtoledof/analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Analyzer

How to use it?

Install the package using composer.

composer require rtoledof/analizer

Once the package it's installed via composer initialize the logger. It requires the logger what is an interface that it should be implemented named ILogger and later on call the functions.

$logger = new LoggerTest();
$analyzer = new \Rtoledof\Analyzer\Analyzer($logger)

$analyzer->analyze(new DateTime());

The analyzer has 3 method.

  • read: Return the logs in the given date.
  • store: Store a new log entry on the logger.
  • analyze: Remove the logs older that the given date.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages