\PhpOffice\PhpSpreadsheet\HelperMigrator

Summary

Methods
Properties
Constants
__construct()
getMapping()
migrate()
replace()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
recursiveReplace()
$from
$to
N/A

Properties

$from

$from : string[]

Type

string[]

Methods

__construct()

__construct() : mixed

Returns

mixed —

getMapping()

getMapping() : string[]

Return the ordered mapping from old PHPExcel class names to new PhpSpreadsheet one.

Returns

string[] —

migrate()

migrate() : mixed

Returns

mixed —

replace()

replace(string  $original) : string

Migrate the given code from PHPExcel to PhpSpreadsheet.

Parameters

string $original

Returns

string —

recursiveReplace()

recursiveReplace(string  $path) : mixed

Search in all files in given directory.

Parameters

string $path

Returns

mixed —