\WebinoDraw\DrawHelperPluginManager

Class HelperPluginManager

Summary

Methods
Properties
Constants
__construct()
injectEventManager()
injectManipulator()
injectVarTranslator()
injectCache()
validatePlugin()
No public properties found
No constants found
No protected methods found
$factories
$invokableClasses
N/A
No private methods found
No private properties found
N/A

Properties

$factories

$factories : array

Default set of helpers factories

Type

array

$invokableClasses

$invokableClasses : array

Default set of helpers

Type

array

Methods

__construct()

__construct(null|\Zend\ServiceManager\ConfigInterface  $configuration = null) 

Constructor

After invoking parent constructor, add an initializer to inject the attached helper, if any, to the currently requested helper.

Parameters

null|\Zend\ServiceManager\ConfigInterface $configuration

injectEventManager()

injectEventManager(\WebinoDraw\Draw\Helper\HelperInterface  $helper) 

Inject a helper instance with the EventManager

Parameters

\WebinoDraw\Draw\Helper\HelperInterface $helper

injectManipulator()

injectManipulator(\WebinoDraw\Draw\Helper\HelperInterface  $helper) 

Inject a helper instance with the WebinoDraw Manipulator

Parameters

\WebinoDraw\Draw\Helper\HelperInterface $helper

injectVarTranslator()

injectVarTranslator(\WebinoDraw\Draw\Helper\HelperInterface  $helper) 

Inject a helper instance with the WebinoDraw VarTranslator

Parameters

\WebinoDraw\Draw\Helper\HelperInterface $helper

validatePlugin()

validatePlugin(mixed  $plugin) 

Validate the plugin

Checks that the helper loaded is an instance of HelperInterface.

Parameters

mixed $plugin

Throws

\WebinoDraw\Exception\InvalidHelperException

if invalid