Download the PHP package jms/serializer-service-provider without Composer
On this page you can find all versions of the php package jms/serializer-service-provider. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jms/serializer-service-provider
More information about jms/serializer-service-provider
Files in jms/serializer-service-provider
Package serializer-service-provider
Short Description Silex Service Provider for the Serializer Bundle
License MIT
Homepage http://jmsyst.com/bundles/JMSSerializerBundle
Informations about the package serializer-service-provider
The SerializerServiceProvider
provides a service for serializing
objects. This service provider uses the JMS\SerializerBundle
for
serializing.
Parameters
-
serializer.src_directory
: The directory where theJMS\SerializerBundle
source is located. -
serializer.cache.directory
: The directory to use for storing the metadata cache. -
serializer.naming_strategy.seperator
(optional): The separator string used when normalizing properties. -
serializer.naming_strategy.lower_case
(optional): Boolean flag indicating if the properties should be normalized as lower case strings. -
serializer.date_time_handler.format
(optional): The format used to serialize and deserializeDateTime
objects. Refer to the PHP documentation for supported Date/Time formats. -
serializer.date_time_handler.default_timezone
(optional): The timezone to use when serializing and deserializingDateTime
objects. Refer to the PHP documentation for a list of supported timezones. serializer.disable_external_entities
(optional): Boolean flag indicating if the serializer should disable external entities for the XML serialization format.
Services
serializer
: An instance ofJMS\SerializerBundle\Serializer\Serializer
.
Registering
Usage
Annotate the class you wish to serialize, refer to the annotation documentation
The SerializerServiceProvider
provider provides a serializer
service. Use it in your application to serialize and deserialize your
objects:
License:
This service provider is available under the MIT LICENSE
. Please note
that the required JMSSerializerBundle
is made available under the Apache 2 LICENCE
.
Credits:
Allow me to thank Johannes Schmitt (@schmittjoh) for making the
JMSSerializerBundle
.
All versions of serializer-service-provider with dependencies
silex/silex Version dev-master
symfony/routing Version 2.1.*
jms/serializer-bundle Version 0.9.*