2017 © Pedro Peláez
 

library jms-serializer-carbon

Carbon Serialization or JSM Serializer

image

autumndev/jms-serializer-carbon

Carbon Serialization or JSM Serializer

  • Friday, July 7, 2017
  • by autumndev
  • Repository
  • 2 Watchers
  • 3 Stars
  • 1,045 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 44 % Grown

The README.md

jms-serializer-carbon

Carbon Serializer for the JMS Serializer library, (*1)

Installation

To instal and use the package please install as per the JMS documentation:, (*2)

$builder
    ->configureHandlers(function(JMS\Serializer\Handler\HandlerRegistry $registry) {
        $registry->registerSubscribingHandler(new \AutumnDev\JMS\CarbonHandler());
    })
;

Symfony2

You will need to register a new service in order to utilise the Carbon serilisation:, (*3)

carbon_handler:
        class: AutumnDev\JMS\CarbonHandler
        tags:
            - { name: jms_serializer.subscribing_handler }

Usage

In order to use the serialisation you must tag your entities thusly:, (*4)

    /**
    * @Type("Carbon")
    */
    public $date;

The Versions

07/07 2017

dev-master

9999999-dev

Carbon Serialization or JSM Serializer

  Sources   Download

GNU General Public License v2.0

The Requires

 

by Avatar autumndev

07/07 2017

v1.1

1.1.0.0

Carbon Serialization or JSM Serializer

  Sources   Download

GNU General Public License v2.0

The Requires

 

by Avatar autumndev

07/07 2017

v1.0

1.0.0.0

Carbon Serialization or JSM Serializer

  Sources   Download

GNU General Public License v2.0

The Requires

 

by Avatar autumndev