PHP Class Elcodi\Plugin\StoreSetupWizardBundle\Templating\TwigRenderer

Inheritance: use trait Elcodi\Component\Plugin\Templating\Traits\TemplatingTrait
Datei anzeigen Open project: elcodi/bamboo

Protected Properties

Property Type Description
$carrierRepository Elcodi\Plugin\CustomShippingBundle\Repository\CarrierRepository A carrier repository
$plugin Elcodi\Component\Plugin\Entity\Plugin Plugin
$requestStack Symfony\Component\HttpFoundation\RequestStack A request stack
$store Elcodi\Component\Store\Entity\Interfaces\StoreInterface Store
$wizardRoutes Elcodi\Plugin\StoreSetupWizardBundle\Services\WizardRoutes The wizard routes service
$wizardStatus Elcodi\Plugin\StoreSetupWizardBundle\Services\WizardStatus A WizardStatus

Public Methods

Method Description
__construct ( WizardStatus $wizardStatus, Symfony\Component\HttpFoundation\RequestStack $requestStack, Elcodi\Component\Store\Entity\Interfaces\StoreInterface $store, WizardRoutes $wizardRoutes, Elcodi\Plugin\CustomShippingBundle\Repository\CarrierRepository $carrierRepository ) Builds a new class
renderDisableUnderConstructionMode ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event ) Render the disable under construction mode.
renderEnableStoreMessage ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event ) Render the message to enable store.
renderGoNextStepMessage ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event ) Render the next step message.
renderMiniWizard ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event ) Renders the mini wizard bar
setPlugin ( Elcodi\Component\Plugin\Entity\Plugin $plugin ) Set plugin

Protected Methods

Method Description
isVisible ( ) : boolean Checks if the wizard is visible for this request.

Method Details

__construct() public method

Builds a new class
public __construct ( WizardStatus $wizardStatus, Symfony\Component\HttpFoundation\RequestStack $requestStack, Elcodi\Component\Store\Entity\Interfaces\StoreInterface $store, WizardRoutes $wizardRoutes, Elcodi\Plugin\CustomShippingBundle\Repository\CarrierRepository $carrierRepository )
$wizardStatus Elcodi\Plugin\StoreSetupWizardBundle\Services\WizardStatus The Wizard status
$requestStack Symfony\Component\HttpFoundation\RequestStack A request stack
$store Elcodi\Component\Store\Entity\Interfaces\StoreInterface Store
$wizardRoutes Elcodi\Plugin\StoreSetupWizardBundle\Services\WizardRoutes A wizard routes service
$carrierRepository Elcodi\Plugin\CustomShippingBundle\Repository\CarrierRepository A carrier repository

isVisible() protected method

Checks if the wizard is visible for this request.
protected isVisible ( ) : boolean
return boolean If visible

renderDisableUnderConstructionMode() public method

Render the disable under construction mode.
public renderDisableUnderConstructionMode ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event )
$event Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface The event

renderEnableStoreMessage() public method

Render the message to enable store.
public renderEnableStoreMessage ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event )
$event Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface The event

renderGoNextStepMessage() public method

Render the next step message.
public renderGoNextStepMessage ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event )
$event Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface The event

renderMiniWizard() public method

Renders the mini wizard bar
public renderMiniWizard ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event )
$event Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface The event

setPlugin() public method

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

Property Details

$carrierRepository protected_oe property

A carrier repository
protected CarrierRepository,Elcodi\Plugin\CustomShippingBundle\Repository $carrierRepository
return Elcodi\Plugin\CustomShippingBundle\Repository\CarrierRepository

$plugin protected_oe property

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

$requestStack protected_oe property

A request stack
protected RequestStack,Symfony\Component\HttpFoundation $requestStack
return Symfony\Component\HttpFoundation\RequestStack

$store protected_oe property

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

$wizardRoutes protected_oe property

The wizard routes service
protected WizardRoutes,Elcodi\Plugin\StoreSetupWizardBundle\Services $wizardRoutes
return Elcodi\Plugin\StoreSetupWizardBundle\Services\WizardRoutes

$wizardStatus protected_oe property

A WizardStatus
protected WizardStatus,Elcodi\Plugin\StoreSetupWizardBundle\Services $wizardStatus
return Elcodi\Plugin\StoreSetupWizardBundle\Services\WizardStatus