jaeger-app / errors
This package is abandoned and no longer maintained.
No replacement package was suggested.
A simple error collection wrapper.
0.1.1
2016-07-04 23:00 UTC
Requires
- php: >=5.4.0
- jaeger-app/license: ^0.1
- jaeger-app/validate: ^0.1
Requires (Dev)
- phpunit/phpunit: 4.*
This package is auto-updated.
Last update: 2023-11-18 01:36:17 UTC
README
A base error collection to allow for individual inspections and system validations.
Installation
Add jaeger-app/errors
as a requirement to your composer.json
:
$ composer require jaeger-app/errors
Simple Example
use JaegerApp\Errors $errors = new Errors; $errors->setError('error_key_1', 'error_lang_key'); $errors->setError('error_key_2', 'another_error_lang_key'); $system_errors = $errors->getErrors();