Core Class
View Source on Trac ↗
Core Class
Registry
class Registry
// Constructor: function Object() { [native code] } Handles creating objects and calling methods
Methods 5 methods
| Method / Return | Description |
|---|---|
| __construct() void | Constructor |
| register() bool | Register a class
Parameters: $type: mixed, $class: mixed, $legacy: mixed |
| get_class() (class-string<T> | Get the class registered for a type
Parameters: $type: mixed |
| create() T | Create a new instance of a given type
Parameters: $type: mixed, $parameters: mixed |
| call() mixed | Call a static method for a type
Parameters: $type: mixed, $method: mixed, $parameters: mixed |
Properties
| Property / Type | Description |
|---|---|
| $default mixed public | No description available. |
| $classes mixed public | No description available. |
| $legacy mixed public | No description available. |
| $legacyTypes mixed public | No description available. |
Class Information
Source File
wp-includes/SimplePie/src/Registry.php
Advertisement