PHP Class Kraken\Util\Factory\SimpleFactoryPlugin

Inheritance: implements Kraken\Util\Factory\SimpleFactoryPluginInterface
Mostrar archivo Open project: kraken-php/framework

Public Methods

Method Description
registerPlugin ( Kraken\Util\Factory\SimpleFactoryInterface $factory )
unregisterPlugin ( Kraken\Util\Factory\SimpleFactoryInterface $factory )

Protected Methods

Method Description
register ( Kraken\Util\Factory\SimpleFactoryInterface $factory ) Define how plugin should be registered.
unregister ( Kraken\Util\Factory\SimpleFactoryInterface $factory ) Define how plugin should be unregistered.

Private Methods

Method Description
throwException ( Erro\Error | Exceptio\Exception $ex )

Method Details

register() protected method

Define how plugin should be registered.
protected register ( Kraken\Util\Factory\SimpleFactoryInterface $factory )
$factory Kraken\Util\Factory\SimpleFactoryInterface

registerPlugin() public method

public registerPlugin ( Kraken\Util\Factory\SimpleFactoryInterface $factory )
$factory Kraken\Util\Factory\SimpleFactoryInterface

unregister() protected method

Define how plugin should be unregistered.
protected unregister ( Kraken\Util\Factory\SimpleFactoryInterface $factory )
$factory Kraken\Util\Factory\SimpleFactoryInterface

unregisterPlugin() public method

public unregisterPlugin ( Kraken\Util\Factory\SimpleFactoryInterface $factory )
$factory Kraken\Util\Factory\SimpleFactoryInterface