protected function doFormAction ()
  {
//    if (count ($_POST) == 0 && count ($_FILES) == 0)
//      throw new FileException(FileException::FILE_TOO_BIG, ini_get ('upload_max_filesize'));
    $this->getActionAndParam ($action, $param);
    $class = new ReflectionObject ($this);
    try {
      $method = $class->getMethod ('action_' . $action);
    }
    catch (ReflectionException $e) {
      throw new FlashMessageException('Class <b>' . $class->getName () . "</b> can't handle action <b>$action</b>.",
        FlashType::ERROR);
    }
    return $method->invoke ($this, $param);
  }
protected function doFormAction ()
  {
//    if (count ($_POST) == 0 && count ($_FILES) == 0)
//      throw new FileException(FileException::FILE_TOO_BIG, ini_get ('upload_max_filesize'));
    $this->getActionAndParam ($action, $param);
    $class = new ReflectionObject ($this);
    try {
      $method = $class->getMethod ('action_' . $action);
    }
    catch (ReflectionException $e) {
      throw new FlashMessageException('Class <b>' . $class->getName () . "</b> can't handle action <b>$action</b>.",
        FlashType::ERROR);
    }
    return $method->invoke ($this, $param);
  }
protected function doFormAction ( ) { //    if (count ($_POST) == 0 && count ($_FILES) == 0) //      throw new FileException(FileException::FILE_TOO_BIG, ini_get ('upload_max_filesize')); $ this -> getActionAndParam ( $ action , $ param ) ; $ class = new ReflectionObject ( $ this ) ; try { $ method = $ class -> getMethod ( 'action_' . $ action ) ; } catch ( ReflectionException $ e ) { throw new FlashMessageException ( 'Class <b>' . $ class -> getName ( ) . "</b> can't handle action <b>$action</b>." , FlashType :: ERROR ) ; } return $ method -> invoke ( $ this , $ param ) ; }
Invokes the right controller method in response to the POST request's specified action.

@return ResponseInterface|null
@throws FlashMessageException
@throws FileException
Invokes the right controller method in response to the POST request s specified action .