class base implements extension_interface
A base class for extensions without custom enable/disable/purge code.
Methods
|
__construct(ContainerInterface $container, finder $extension_finder, migrator $migrator, string $extension_name, string $extension_path)
Constructor |
||
| bool |
is_enableable()
Indicate whether or not the extension can be enabled. |
|
| false |
enable_step(mixed $old_state)
Single enable step that installs any included migrations |
|
| false |
disable_step(mixed $old_state)
Single disable step that does nothing |
|
| false |
purge_step(mixed $old_state)
Single purge step that reverts any included and installed migrations |
Details
at line 50
public
__construct(ContainerInterface $container, finder $extension_finder, migrator $migrator, string $extension_name, string $extension_path)
Constructor
at line 63
public bool
is_enableable()
Indicate whether or not the extension can be enabled.
at line 74
public false
enable_step(mixed $old_state)
Single enable step that installs any included migrations
at line 91
public false
disable_step(mixed $old_state)
Single disable step that does nothing
at line 102
public false
purge_step(mixed $old_state)
Single purge step that reverts any included and installed migrations