Symfony\Component\Intl\DateFormatter\DateFormat\FullTransformer::formatReplace
Return the formatted ICU value for the matched date characters
Signature
public function formatReplace(string
$dateChars,
DateTime
$dateTime )
Parameters
$dateChars
—
string
- The date characters to be replaced with a formatted ICU value
$dateTime
—
object
- A DateTime object to be used to generate the formatted value
Returns
- string
- The formatted value
Errors/Exceptions
-
NotImplementedException
- When it encounters a not implemented date character