Basic Register pattern class

0.4.0.0 2022-03-13 09:55 UTC

This package is auto-updated.

Last update: 2022-08-13 11:26:26 UTC


README

Latest Stable Version Total Downloads License Dependency Status Documentation Status

Builds
Travis Scrutinizer
Build Status Build Status
Coverage
Coveralls Scrutinizer
Coverage Status Code Coverage
Quality
Code Climate Scrutinizer SymfonyInsight
Code Climate Scrutinizer Code Quality SymfonyInsight
Code Intelligence Status

Register allow to create and load objects in some advanced way.

Included classes

  • BlueRegister\Events\RegisterEvent - Basic event object for Register Events
  • BlueRegister\Events\RegisterException - Basic event for Register Exception events (allow to kill system by special exception)
  • BlueRegister\Events\Event - Register event system handling
  • BlueRegister\Register - Main library class, allow to create object instances and singletons
  • BlueRegister\RegisterException - Throw only when unable to create new object
  • BlueRegister\Log - Register log system handling

Documentation

Usage

Usage

Events Configuration

Events

Register Log

Log each some behaviours

Errors

Event listeners errors

Install via Composer

To use BlueRegister you can just download package and place it in your code. But recommended way to use BlueRegister is install it via Composer. To include BlueRegister libraries paste into composer.json:

{
    "require": {
        "bluetree-service/register": "version_number"
    }
}

Project description

Used conventions

  • Namespaces - each library use namespaces (base is BlueRegister)
  • PSR-4 - PSR-4 coding standard
  • Composer - Composer usage to load/update libraries

Requirements

  • PHP 7.3 or higher

Change log

All release version changes:
Change log

License

This bundle is released under the Apache license.
Apache license

Travis Information

Travis CI Build Info