\PHPMailer\Test\PHPMailerFilenameToTypeTest

Test file name to type functionality.

Summary

Methods
Properties
Constants
testFilenameToType()
dataFilenameToType()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

testFilenameToType()

testFilenameToType(string  $filename, string  $expected) : mixed

Verify mapping a file name to a MIME type.

Parameters

string $filename

Filename input.

string $expected

Expected function output.

Returns

mixed —

dataFilenameToType()

dataFilenameToType() : array

Data provider.

Returns

array —