$classLoaderremoveNamespace()

Remove defined paths (or single path) for given namespace

Usage

// basic usage
$classLoader->removeNamespace(string $namespace);

// usage with all arguments
$classLoader->removeNamespace(string $namespace, string $path = '');

Arguments

NameType(s)Description
$namespacestring
$path (optional)string

Optionally specify path to remove Default:remove all


$classLoader methods and properties

API reference based on ProcessWire core version 3.0.252