Symfony\Component\Form\Extension\Core\DataTransformer\PercentToLocalizedStringTransformer::__construct
Constructor.
Signature
public function __construct([integer
$precision = null,
[string
$type = null]] )
Parameters
$precision
— integer- The precision
$type
— string- One of the supported types
Errors/Exceptions
-
UnexpectedTypeException
- if the given value of type is unknown