any/serializer

Serialize any value for logging

0.1.2 2013-09-20 05:52 UTC

This package is auto-updated.

Last update: 2024-12-07 07:33:36 UTC


README

Any.Serializer enables to serialize any object. It removes all contained unserializable item (such as resource, closure) for logging purpose.

Requirement

  • PHP 5.3+

Usage

$serializedText = (new Serializer)->serialize($object);