Wrapper around strtr() that holds replacements.
More...
Wrapper around strtr() that holds replacements.
Definition at line 24 of file ReplacementArray.php.
◆ __construct()
| ReplacementArray::__construct |
( |
array | $data = [] | ) |
|
Create an object with the specified replacement array The array should have the same form as the replacement array for strtr()
- Parameters
-
Definition at line 32 of file ReplacementArray.php.
◆ __sleep()
| ReplacementArray::__sleep |
( |
| ) |
|
◆ getArray()
| ReplacementArray::getArray |
( |
| ) |
|
◆ merge()
◆ mergeArray()
| ReplacementArray::mergeArray |
( |
| $data | ) |
|
◆ removeArray()
| ReplacementArray::removeArray |
( |
| $data | ) |
|
◆ removePair()
| ReplacementArray::removePair |
( |
| $from | ) |
|
◆ replace()
| ReplacementArray::replace |
( |
| $subject | ) |
|
◆ setArray()
| ReplacementArray::setArray |
( |
array | $data | ) |
|
◆ setPair()
| ReplacementArray::setPair |
( |
| $from, |
|
|
| $to ) |
The documentation for this class was generated from the following file: