php-extended / php-arrayable-object
A library that implements the php-extended/php-arrayable-interface library
7.0.6
2024-07-31 13:59 UTC
Requires
- php: >=8.0
- php-extended/php-arrayable-interface: ^7
Requires (Dev)
README
A very basic psr-3 compliant logger to log activity in the console.
Installation
The installation of this library is made via composer and the autoloading of all classes of this library is made through their autoloader.
- Download
composer.phar
from their website. - Then run the following command to install this library as dependency :
php composer.phar php-extended/php-arrayable-object ^7
Basic Usage
This library gives an ArrayableTrait
that implements the toArray()
method. Then any object that implements this trait may be called the toArray()
method to return an array that represents its internal state.
License
MIT (See license file).