[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 258 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Registry:: (5 methods):
__construct()
register()
get_class()
create()
call()
__construct() X-Ref |
Constructor No-op |
register(string $type, $class, bool $legacy = false) X-Ref |
Register a class return: bool Successfulness param: string $type See {@see $default} for names param: class-string $class Class name, must subclass the corresponding default param: bool $legacy Whether to enable legacy support for this class |
get_class($type) X-Ref |
Get the class registered for a type Where possible, use {@see create()} or {@see call()} instead return: class-string<T>|null param: class-string<T> $type |
create($type, array $parameters = []) X-Ref |
Create a new instance of a given type return: T Instance of class param: class-string<T> $type param: array<mixed> $parameters Parameters to pass to the constructor |
call($type, string $method, array $parameters = []) X-Ref |
Call a static method for a type return: mixed param: class-string $type param: string $method param: array<mixed> $parameters |
Generated : Fri Oct 10 08:20:03 2025 | Cross-referenced by PHPXref |