YearTransformer::format()

string format(DateTime $dateTime, int $length)

Format a value using a configured DateTime as date/time source.

Parameters

DateTime $dateTime A DateTime object to be used to generate the formatted value
int $length The formatted value string length

Return Value

string The formatted value
doc_Symfony
2016-10-28 06:37:33
Comments
Leave a Comment

Please login to continue.