PHP Class Plank\Mediable\Exceptions\MediaUpload\FileNotSupportedException

Inheritance: extends Plank\Mediable\Exceptions\MediaUploadException
Mostra file Open project: plank/laravel-mediable Class Usage Examples

Public Methods

Method Description
aggregateTypeRestricted ( $type, $allowed_types )
extensionRestricted ( $extension, $allowed_extensions )
mimeRestricted ( $mime, $allowed_mimes )
strictTypeMismatch ( $mime, $ext )
unrecognizedFileType ( $mime, $ext )

Method Details

aggregateTypeRestricted() public static method

public static aggregateTypeRestricted ( $type, $allowed_types )

extensionRestricted() public static method

public static extensionRestricted ( $extension, $allowed_extensions )

mimeRestricted() public static method

public static mimeRestricted ( $mime, $allowed_mimes )

strictTypeMismatch() public static method

public static strictTypeMismatch ( $mime, $ext )

unrecognizedFileType() public static method

public static unrecognizedFileType ( $mime, $ext )