validators\FileValidator $wrongMimeType

$wrongMimeType public property

The error message used when the file has an mime type that is not allowed by $mimeTypes property. You may use the following tokens in the message:

  • {attribute}: the attribute name
  • {file}: the uploaded file name
  • {mimeTypes}: the value of $mimeTypes
public string $wrongMimeType = null
doc_Yii
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.