RenameReplaceEntryStrategy implements RenameEntryStrategy
Read onlyYes
FinalYes
Interfaces
Methods
- __construct() : mixed
- renames() : array<string|int, string>
Methods
__construct()
public
__construct(array<string|int, string>|string $search, array<string|int, string>|string $replace) : mixed
Parameters
- $search : array<string|int, string>|string
- $replace : array<string|int, string>|string
renames()
public
renames(Schema $schema) : array<string|int, string>
Parameters
- $schema : Schema
Return values
array<string|int, string> —map of current_name => new_name; PHP casts a numeric name to an int key, empty when nothing is renamed