public __call ( string $type, array $params = [] ) : string | ||
$type | string | The method called, which represents the `type` attribute of the `` tag. |
$params | array | An array of method parameters passed to the method call. The first element should be the name of the input field, and the second should be an array of element attributes. |
return | string | Returns an `` tag of the type specified in `$type`. |