src/admin/pages/AdminPage.php
private function doUserFunc ($getMode)
    {
        if (($activeMode = $this->getActiveMode()) !== null && ($userFunc = call_user_func($getMode, $activeMode)) !== null) {
            call_user_func($userFunc, $activeMode);
        }
    }
private function doUserFunc ($getMode)
    {
        if (($activeMode = $this->getActiveMode()) !== null && ($userFunc = call_user_func($getMode, $activeMode)) !== null) {
            call_user_func($userFunc, $activeMode);
        }
    }
private function doUserFunc ( $ getMode ) { if ( ( $ activeMode = $ this -> getActiveMode ( ) ) !== null && ( $ userFunc = call_user_func ( $ getMode , $ activeMode ) ) !== null ) { call_user_func ( $ userFunc , $ activeMode ) ; } }
Performs a user func on the active mode

@param callable $getMode A callable that retrieves the user func from the mode
@throws Exception
Performs a user func on the active mode