src/BfwController.php
protected function run()
    {
        if (PHP_SAPI === 'cli') {
            return;
        }
        
        if ($this->ctrlRouterInfos->target === null) {
            return;
        }
        
        $this->module
            ->monolog
            ->getLogger()
            ->debug(
                'Execute current route.',
                ['target' => $this->ctrlRouterInfos->target]
            );
        
        $useClass = $this->config->getValue('useClass');
        
        if ($useClass === true) {
            $this->runObject();
        } else {
            $this->runProcedural();
        }
    }
protected function run()
    {
        if (PHP_SAPI === 'cli') {
            return;
        }
        
        if ($this->ctrlRouterInfos->target === null) {
            return;
        }
        
        $this->module
            ->monolog
            ->getLogger()
            ->debug(
                'Execute current route.',
                ['target' => $this->ctrlRouterInfos->target]
            );
        
        $useClass = $this->config->getValue('useClass');
        
        if ($useClass === true) {
            $this->runObject();
        } else {
            $this->runProcedural();
        }
    }
protected function run ( ) { if ( PHP_SAPI === 'cli' ) { return ; } if ( $ this -> ctrlRouterInfos -> target === null ) { return ; } $ this -> module -> monolog -> getLogger ( ) -> debug ( 'Execute current route.' , [ 'target' => $ this -> ctrlRouterInfos -> target ] ) ; $ useClass = $ this -> config -> getValue ( 'useClass' ) ; if ( $ useClass === true ) { $ this -> runObject ( ) ; } else { $ this -> runProcedural ( ) ; } }
Run controller system if application is not run in cli mode

@return void
Run controller system if application is not run in cli mode