src/Page/Page.php
protected function parseAction(string $action, string $method): string
    {
        if ('post' === $method) {
            return $this->getSlug().'_'.$action;
        }

        return $action;
    }
protected function parseAction(string $action, string $method): string
    {
        if ('post' === $method) {
            return $this->getSlug().'_'.$action;
        }

        return $action;
    }
protected function parseAction ( string $ action , string $ method ) : string { if ( 'post' === $ method ) { return $ this -> getSlug ( ) . '_' . $ action ; } return $ action ; }
Format the action name.

@param string $action
@param string $method

@return string
Format the action name .