\PHPMailer\Test\PHPMailerMbPathinfoTest

Test Multi-byte-safe pathinfo replacement functionality.

Summary

Methods
Properties
Constants
testMb_pathinfoWithoutOptions()
dataMb_pathinfoWithoutOptions()
testMb_pathinfoWithOptions()
dataMb_pathinfoWithOptions()
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

testMb_pathinfoWithoutOptions()

testMb_pathinfoWithoutOptions(string  $path, string  $expected) : mixed

Verify retrieving information about a file path when the $options parameter has been passed.

Parameters

string $path

Path input.

string $expected

Expected function output.

Returns

mixed —

dataMb_pathinfoWithoutOptions()

dataMb_pathinfoWithoutOptions() : array

Data provider.

Returns

array —

testMb_pathinfoWithOptions()

testMb_pathinfoWithOptions(int|string  $options, string  $expected) : mixed

Verify retrieving information about a file path when the $options parameter has been passed.

Parameters

int|string $options

Input to pass to the $options parameter.

string $expected

Expected function output.

Returns

mixed —

dataMb_pathinfoWithOptions()

dataMb_pathinfoWithOptions() : array

Data provider.

Returns

array —