Skip to content

Modules

  • Full name: \MammothPHP\WoollyM\Stats\Modules
  • This class is an Abstract class

Properties

modules

php
protected static ?array $modules
  • This property is static.

Methods

init

php
protected static init(): void
  • This method is static.

getModule

php
protected static getModule(string $name, \MammothPHP\WoollyM\Stats\ModuleType $type): ?\MammothPHP\WoollyM\Stats\StatsInterface
  • This method is static.

Parameters:

ParameterTypeDescription
$namestring
$type\MammothPHP\WoollyM\Stats\ModuleType

registerModule

php
public static registerModule(string $moduleClass): void
  • This method is static.

Parameters:

ParameterTypeDescription
$moduleClassstring

removeModuleByMethod

php
public static removeModuleByMethod(string $method): void
  • This method is static.

Parameters:

ParameterTypeDescription
$methodstring


Automatically generated on 2024-07-03

Released under the BSD 3-Clause License.