PHP 클래스 Elcodi\Plugin\StoreSetupWizardBundle\EventListener\DisableWizardEventListener

파일 보기 프로젝트 열기: elcodi/bamboo

보호된 프로퍼티들

프로퍼티 타입 설명
$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.

공개 메소드들

메소드 설명
__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

메소드 상세

__construct() 공개 메소드

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() 공개 메소드

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

setPlugin() 공개 메소드

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

프로퍼티 상세

$plugin 보호되어 있는 프로퍼티

Plugin
protected Plugin,Elcodi\Component\Plugin\Entity $plugin
리턴 Elcodi\Component\Plugin\Entity\Plugin

$pluginManager 보호되어 있는 프로퍼티

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

$pluginObjectManager 보호되어 있는 프로퍼티

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

$store 보호되어 있는 프로퍼티

Store
protected StoreInterface,Elcodi\Component\Store\Entity\Interfaces $store
리턴 Elcodi\Component\Store\Entity\Interfaces\StoreInterface

$wizardStatus 보호되어 있는 프로퍼티

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