public function runModule()
    {
        if ($this->status->run === true) {
            return;
        }
        
        $runnerFile   = $this->obtainRunnerFile();
        $initFunction = function() use ($runnerFile) {
            if (empty($runnerFile)) {
                return;
            }
            
            require(realpath($runnerFile));
        };

        $this->status->run = true;
        $initFunction();
    }
public function runModule()
    {
        if ($this->status->run === true) {
            return;
        }
        
        $runnerFile   = $this->obtainRunnerFile();
        $initFunction = function() use ($runnerFile) {
            if (empty($runnerFile)) {
                return;
            }
            
            require(realpath($runnerFile));
        };

        $this->status->run = true;
        $initFunction();
    }
public function runModule ( ) { if ( $ this -> status -> run === true ) { return ; } $ runnerFile = $ this -> obtainRunnerFile ( ) ; $ initFunction = function ( ) use ( $ runnerFile ) { if ( empty ( $ runnerFile ) ) { return ; } require ( realpath ( $ runnerFile ) ) ; } ; $ this -> status -> run = true ; $ initFunction ( ) ; }
Run the module in a closure

@return void
Run the module in a closure