Class MandateDateTransformer
DateTransformer to handle mandate dates which are passed as strings but used at datetimes.
It was also possible to pass by the input string for the form type to avoid passing by DateTime entities. However, this would imply to handle the different formats used, which is far more difficult.
- FrontBundle\Form\DataTransformer\MandateDateTransformer implements Symfony\Component\Form\DataTransformerInterface
Namespace: FrontBundle\Form\DataTransformer
Author: Théo FIDRY theo.fidry@gmail.com
Link: http://symfony.com/doc/current/cookbook/form/data_transformers.html#about-model-and-view-transformers
Located at FrontBundle/Form/DataTransformer/MandateDateTransformer.php
Author: Théo FIDRY theo.fidry@gmail.com
Link: http://symfony.com/doc/current/cookbook/form/data_transformers.html#about-model-and-view-transformers
Located at FrontBundle/Form/DataTransformer/MandateDateTransformer.php
public
|
|
public
|
|
public
|