Свойство | Тип | Описание | |
---|---|---|---|
$plugin | Elcodi\Component\Plugin\Entity\Plugin | Plugin | |
$urlGenerator | Symfony\Component\Routing\Generator\UrlGeneratorInterface | An url generator | |
$wizardRoutes | The wizard routes service | ||
$wizardStatus | A wizard status service |
Метод | Описание | |
---|---|---|
__construct ( Symfony\Component\Routing\Generator\UrlGeneratorInterface $urlGenerator, |
Builds a new class | |
handle ( |
Handles the event redirecting to the wizard if the user is visiting the dashboard | |
setPlugin ( Elcodi\Component\Plugin\Entity\Plugin $plugin ) | Set plugin |
Метод | Описание | |
---|---|---|
getCurrentRequestRoute ( |
Gets the current request route |
public __construct ( Symfony\Component\Routing\Generator\UrlGeneratorInterface $urlGenerator, |
||
$urlGenerator | Symfony\Component\Routing\Generator\UrlGeneratorInterface | An url generator |
$wizardStatus | A wizard status service | |
$wizardRoutes | A wizard routes service |
protected getCurrentRequestRoute ( |
||
$request | The current request | |
Результат | string |
public handle ( |
||
$event | The response event |
public setPlugin ( Elcodi\Component\Plugin\Entity\Plugin $plugin ) | ||
$plugin | Elcodi\Component\Plugin\Entity\Plugin | Plugin |
protected Plugin,Elcodi\Component\Plugin\Entity $plugin | ||
Результат | Elcodi\Component\Plugin\Entity\Plugin |
protected UrlGeneratorInterface,Symfony\Component\Routing\Generator $urlGenerator | ||
Результат | Symfony\Component\Routing\Generator\UrlGeneratorInterface |
protected WizardRoutes,Elcodi\Plugin\StoreSetupWizardBundle\Services $wizardRoutes | ||
Результат |