public function onKernelRequest()
    {
        if ($this->executed) return;
        
        $installerScript = $this->scriptFactory->createScript('PostBootInstaller');
        $installerScript->setContainer($this->container)
                        ->executeActionsFromFile($this->basePath . '/.PostInstall');

        $installerScript = $this->scriptFactory->createScript('PostBootUninstaller');
        $installerScript->setContainer($this->container)
                        ->executeActionsFromFile($this->basePath . '/.PostUninstall');

        $this->executed = true;
    }
public function onKernelRequest()
    {
        if ($this->executed) return;
        
        $installerScript = $this->scriptFactory->createScript('PostBootInstaller');
        $installerScript->setContainer($this->container)
                        ->executeActionsFromFile($this->basePath . '/.PostInstall');

        $installerScript = $this->scriptFactory->createScript('PostBootUninstaller');
        $installerScript->setContainer($this->container)
                        ->executeActionsFromFile($this->basePath . '/.PostUninstall');

        $this->executed = true;
    }
public function onKernelRequest ( ) { if ( $ this -> executed ) return ; $ installerScript = $ this -> scriptFactory -> createScript ( 'PostBootInstaller' ) ; $ installerScript -> setContainer ( $ this -> container ) -> executeActionsFromFile ( $ this -> basePath . '/.PostInstall' ) ; $ installerScript = $ this -> scriptFactory -> createScript ( 'PostBootUninstaller' ) ; $ installerScript -> setContainer ( $ this -> container ) -> executeActionsFromFile ( $ this -> basePath . '/.PostUninstall' ) ; $ this -> executed = true ; }
Executes the action when the onKernelRequest event is dispatched
Executes the action when the onKernelRequest event is dispatched