名称
setOptions — Set object state based on provided options.
大纲
setOptions(
$options
);
setOptions()
Takes an argument of either an associative array or
Traversable object. Recognized keys are detailed
under “Configuration Options”一节, with the
following behaviors:
-
The
namespacesvalue will be passed to registerNamespaces(). -
The
prefixesvalue will be passed to registerPrefixes(). -
The
fallback_autoloadervalue will be passed to setFallbackAutoloader().