src/Routes/Controller.php
public function getCurrentAction(RequestApplicationInterface $app = null)
    {
        return $app !== null ? $app->getRoute()->getAction() : null;
    }
public function getCurrentAction(RequestApplicationInterface $app = null)
    {
        return $app !== null ? $app->getRoute()->getAction() : null;
    }
Get current action
@param RequestApplicationInterface|null $app
@return string|null