src/PeskyCMF/Scaffold/ScaffoldConfig.php
public function performAction($actionName) {
        if (method_exists($this, $actionName)) {
            return $this->$actionName();
        } else {
            return cmfJsonResponse(HttpCode::NOT_FOUND)
                ->setMessage('Method [' . static::class . '->' . $actionName . '] is not defined');
        }
    }
public function performAction($actionName) {
        if (method_exists($this, $actionName)) {
            return $this->$actionName();
        } else {
            return cmfJsonResponse(HttpCode::NOT_FOUND)
                ->setMessage('Method [' . static::class . '->' . $actionName . '] is not defined');
        }
    }
public function performAction ( $ actionName ) { if ( method_exists ( $ this , $ actionName ) ) { return $ this -> $ actionName ( ) ; } else { return cmfJsonResponse ( HttpCode :: NOT_FOUND ) -> setMessage ( 'Method [' . static :: class . '->' . $ actionName . '] is not defined' ) ; } }
Call scaffold's method called $actionName without arguments
@param string $actionName
@return $this
Call scaffold s method called $actionName without arguments