Construct a new instance of a class with a given name
This is the code documentation for the SproutCMS project
Search documentation |
function instance()Construct a new instance of a class with a given name
Usagemixed Sprout::instance ( string $class_name [, string|array $base_class_name ] ); Example$inst = Sprout::instance($widget_class, 'Sprout\\Widgets\\Widget'); Arguments
Exceptions thrown
Return value
|
Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Monday, 3rd April, 2023 at 02:59 pm |