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

This package is auto-updated.

Last update: 2024-10-01 00:20:40 UTC


README

A very basic psr-3 compliant logger to log activity in the console.

coverage build status

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