[ Index ]

PHP Cross Reference of phpBB-3.3.11-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Configurator/Collections/ -> PluginCollection.php (summary)

(no description)

File Size: 149 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PluginCollection:: (6 methods):
  __construct()
  finalize()
  normalizeKey()
  normalizeValue()
  load()
  asConfig()


Class: PluginCollection  - X-Ref


__construct(Configurator $configurator)   X-Ref
Constructor

param: Configurator $configurator

finalize()   X-Ref
Finalize all of this collection's plugins

return: void

normalizeKey($pluginName)   X-Ref
Validate a plugin name

return: string
param: string $pluginName

normalizeValue($value)   X-Ref
Create a plugin instance/ensure it implements the correct interface

return: ConfiguratorBase
param: mixed $value Either a class name or an object that implements ConfiguratorBase

load($pluginName, array $overrideProps = [])   X-Ref
Load a default plugin

return: ConfiguratorBase
param: string $pluginName    Name of the plugin
param: array  $overrideProps Properties of the plugin will be overwritten with those

asConfig()   X-Ref
{@inheritdoc}




Generated: Sat Nov 4 14:26:03 2023 Cross-referenced by PHPXref 0.7.1