PHP Class Elcodi\Plugin\StoreSetupWizardBundle\EventListener\DisableWizardEventListener

显示文件 Open project: elcodi/bamboo

Protected Properties

Property Type Description
$plugin Elcodi\Component\Plugin\Entity\Plugin Plugin
$pluginManager Elcodi\Component\Plugin\Services\PluginManager A plugin manager service.
$pluginObjectManager Doctrine\Common\Persistence\ObjectManager Plugin object manager
$store Elcodi\Component\Store\Entity\Interfaces\StoreInterface Store
$wizardStatus Elcodi\Plugin\StoreSetupWizardBundle\Services\WizardStatus A wizard status service.

Public Methods

Method Description
__construct ( WizardStatus $wizardStatus, Elcodi\Component\Plugin\Services\PluginManager $pluginManager, Doctrine\Common\Persistence\ObjectManager $pluginObjectManager, Elcodi\Component\Store\Entity\Interfaces\StoreInterface $store ) Builds a new class
handle ( GetResponseEvent $event ) Checks if the plugin should be disabled
setPlugin ( Elcodi\Component\Plugin\Entity\Plugin $plugin ) Set plugin

Method Details

__construct() public method

Builds a new class
public __construct ( WizardStatus $wizardStatus, Elcodi\Component\Plugin\Services\PluginManager $pluginManager, Doctrine\Common\Persistence\ObjectManager $pluginObjectManager, Elcodi\Component\Store\Entity\Interfaces\StoreInterface $store )
$wizardStatus Elcodi\Plugin\StoreSetupWizardBundle\Services\WizardStatus A wizard status service
$pluginManager Elcodi\Component\Plugin\Services\PluginManager A plugin manager
$pluginObjectManager Doctrine\Common\Persistence\ObjectManager Plugin object manager
$store Elcodi\Component\Store\Entity\Interfaces\StoreInterface Store

handle() public method

Checks if the plugin should be disabled
public handle ( GetResponseEvent $event )
$event Symfony\Component\HttpKernel\Event\GetResponseEvent The response event

setPlugin() public method

Set plugin
public setPlugin ( Elcodi\Component\Plugin\Entity\Plugin $plugin )
$plugin Elcodi\Component\Plugin\Entity\Plugin Plugin

Property Details

$plugin protected_oe property

Plugin
protected Plugin,Elcodi\Component\Plugin\Entity $plugin
return Elcodi\Component\Plugin\Entity\Plugin

$pluginManager protected_oe property

A plugin manager service.
protected PluginManager,Elcodi\Component\Plugin\Services $pluginManager
return Elcodi\Component\Plugin\Services\PluginManager

$pluginObjectManager protected_oe property

Plugin object manager
protected ObjectManager,Doctrine\Common\Persistence $pluginObjectManager
return Doctrine\Common\Persistence\ObjectManager

$store protected_oe property

Store
protected StoreInterface,Elcodi\Component\Store\Entity\Interfaces $store
return Elcodi\Component\Store\Entity\Interfaces\StoreInterface

$wizardStatus protected_oe property

A wizard status service.
protected WizardStatus,Elcodi\Plugin\StoreSetupWizardBundle\Services $wizardStatus
return Elcodi\Plugin\StoreSetupWizardBundle\Services\WizardStatus