class factory

Methods

__construct(ContainerInterface $container, service_collection $plugins)

Constructor

object
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 34
__construct(ContainerInterface $container, service_collection $plugins)

Constructor

Parameters

ContainerInterface $container
service_collection $plugins

at line 46
object get_instance($name)

Return a new instance of a given plugin

Parameters

$name

Return Value

object

at line 56
garbage_collect(string $name)

Call the garbage collector

Parameters

string $name

The name to the captcha service.

at line 67
get_captcha_types()

Return a list of all registered CAPTCHA plugins