\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 : array<mixed,string>

Type

array<mixed,string>

$to

$to : array<mixed,string>

Type

array<mixed,string>

Methods

__construct()

__construct() 

getMapping()

getMapping() : array<mixed,string>

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

Returns

array<mixed,string>

migrate()

migrate() 

replace()

replace(string  $original) : string

Migrate the given code from PHPExcel to PhpSpreadsheet.

Parameters

string $original

Returns

string

recursiveReplace()

recursiveReplace(string  $path) 

Search in all files in given directory.

Parameters

string $path