Method |
Description |
|
attach ( string $index, string $new_type, string $namespace = '' ) : boolean |
Attach a plugin to overload the base class |
|
extract ( string $index, string $desired_name, string $namespace = '' ) : string |
Create a shim that extends a gear type |
|
forge ( string $index, string $type ) : boolean |
Add a new type to the Gears registry |
|
get ( string $name, variadic $args ) : mixed |
Get an instance of a gear (all arguments after the first are passed to
its constructor) |
|
getName ( string $name ) : string |
Get the class name of a Gear |
|
init ( array $gears = [] ) |
Set up initial classes |
|
lazyForge ( string $index, string $type ) : boolean |
Add a new type to the Gears registry |
|