PHP Class Kraken\Util\Factory\FactoryPlugin

Inheritance: implements Kraken\Util\Factory\FactoryPluginInterface
Show file Open project: kraken-php/framework

Protected Properties

Property Type Description
$registered boolean

Public Methods

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

Protected Methods

Method Description
register ( Kraken\Util\Factory\FactoryInterface $factory ) Define how plugin should be registered.
unregister ( Kraken\Util\Factory\FactoryInterface $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\FactoryInterface $factory )
$factory Kraken\Util\Factory\FactoryInterface

registerPlugin() public method

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

unregister() protected method

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

unregisterPlugin() public method

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

Property Details

$registered protected property

protected bool $registered
return boolean