프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$blockedMimeTypes | array | ||
$maxFileSize | integer |
메소드 | 설명 | |
---|---|---|
getBlockedMimeTypes ( ) : array | ||
getMaxFileSize ( ) : integer | ||
setBlockedMimeTypes ( array $blockedMimeTypes ) | ||
setMaxFileSize ( string $maxFileSize ) | ||
validate ( Symfony\Component\HttpFoundation\File\UploadedFile $file, array $methods = [self::VALIDATOR_FILE_SET, self::VALIDATOR_FILE_ERRORS, self::VALIDATOR_BLOCK_FILE_TYPES, self::VALIDATOR_MAX_FILE_SIZE] ) : mixed | void |
public setBlockedMimeTypes ( array $blockedMimeTypes ) | ||
$blockedMimeTypes | array |
public validate ( Symfony\Component\HttpFoundation\File\UploadedFile $file, array $methods = [self::VALIDATOR_FILE_SET, self::VALIDATOR_FILE_ERRORS, self::VALIDATOR_BLOCK_FILE_TYPES, self::VALIDATOR_MAX_FILE_SIZE] ) : mixed | void | ||
$file | Symfony\Component\HttpFoundation\File\UploadedFile | |
$methods | array | |
리턴 | mixed | void |