Skip to main content

ConfigProvider

The configuration provider for the TwbsHelper module


  • Full name: \TwbsHelper\ConfigProvider

See Also:

Constants

ConstantVisibilityTypeValue
MODULE_CONFIG_PATHprivatestringDIR . '/../../config/module.config.php'

Properties

moduleConfig

The module config Laminas MVC

protected array $moduleConfig

Methods

__invoke

Returns the configuration array

public __invoke(): array

To add a bit of a structure, each section is defined in a separate method which returns an array with its configuration.

Throws:

  • InvalidArgumentException

getTwbsHelperOptions

Returns twb bundle options

protected getTwbsHelperOptions(): array

getDependencies

Returns dependencies (former server_manager)

protected getDependencies(): array

getViewHelpers

Returns view helpers

protected getViewHelpers(): array

getNavigationHelpers

Returns navigation helpers

protected getNavigationHelpers(): array

getViewManagerConfig

Returns navigation helpers

protected getViewManagerConfig(): array