20 lines
485 B
Plaintext
20 lines
485 B
Plaintext
|
/**
|
||
|
* Search inside a string
|
||
|
*
|
||
|
* @param string $value The string value
|
||
|
*
|
||
|
* @return string|null The marked string if found, else null
|
||
|
* @since 3.2.0
|
||
|
*/
|
||
|
public function string(string $value): ?string;
|
||
|
|
||
|
/**
|
||
|
* Replace found instances inside string value
|
||
|
*
|
||
|
* @param string $value The string value to update
|
||
|
*
|
||
|
* @return string The updated string
|
||
|
* @since 3.2.0
|
||
|
*/
|
||
|
public function replace(string $value): string;
|