protected function beforeAction($actionName) {
        if (!$this->debug) {
            InlineCliLogger::get()->ignoredClasses = array('mpf\datasources\sql\PDOConnection');
            Helper::get()->showProgressBar = false;
        }
        return true;
    }
protected function beforeAction($actionName) {
        if (!$this->debug) {
            InlineCliLogger::get()->ignoredClasses = array('mpf\datasources\sql\PDOConnection');
            Helper::get()->showProgressBar = false;
        }
        return true;
    }
protected function beforeAction ( $ actionName ) { if ( ! $ this -> debug ) { InlineCliLogger :: get ( ) -> ignoredClasses = array ( 'mpf\datasources\sql\PDOConnection' ) ; Helper :: get ( ) -> showProgressBar = false ; } return true ; }
You can overwrite this method to add portion of the code to be executed every time before action.
@param string $actionName name of the action to be executed, except for action part
@return boolean true to continue
You can overwrite this method to add portion of the code to be executed every time before action .