src/Forms/FormRequestHandler.php
public function buttonClicked()
    {
        $actions = $this->getAllActions();
        foreach ($actions as $action) {
            if ($this->buttonClickedFunc === $action->actionName()) {
                return $action;
            }
        }
        return null;
    }
public function buttonClicked()
    {
        $actions = $this->getAllActions();
        foreach ($actions as $action) {
            if ($this->buttonClickedFunc === $action->actionName()) {
                return $action;
            }
        }
        return null;
    }
public function buttonClicked ( ) { $ actions = $ this -> getAllActions ( ) ; foreach ( $ actions as $ action ) { if ( $ this -> buttonClickedFunc === $ action -> actionName ( ) ) { return $ action ; } } return null ; }
Get instance of button which was clicked for this request

@return FormAction
Get instance of button which was clicked for this request