Patches the string.
public static patched ( string $namespace, string $ref, boolean $isFunc = true, &$substitute = null ) : string | ||
$namespace | string | The namespace. |
$ref | string | The fully namespaced class/function reference string. |
$isFunc | boolean | Boolean indicating if $ref is a function reference. |
Результат | string | A fully namespaced reference. |