Symfony\Component\Form\Extension\Core\DataTransformer\DateTimeToTimestampTransformer::reverseTransform
Transforms a timestamp in the configured timezone into a DateTime object
Signature
public function reverseTransform(string
$value )
Parameters
$value
— string- A timestamp
Returns
- DateTime
- A \DateTime object
Errors/Exceptions
-
TransformationFailedException
- If the given value is not a timestamp