class factory

Methods

__construct(ContainerInterface $container, service_collection $plugins)

Constructor

get_instance($name)

Return a new instance of a given plugin

garbage_collect(string $name)

Call the garbage collector

get_captcha_types()

Return a list of all registered CAPTCHA plugins

Details

at line 37
__construct(ContainerInterface $container, service_collection $plugins)

Constructor

Parameters

ContainerInterface $container
service_collection $plugins

at line 49
plugin_interface get_instance($name)

Return a new instance of a given plugin

Parameters

$name

Return Value

plugin_interface

at line 65
garbage_collect(string $name)

Call the garbage collector

Parameters

string $name

The name to the captcha service.

at line 76
get_captcha_types()

Return a list of all registered CAPTCHA plugins