concrete/src/Form/Service/Form.php
public function action($action, $task = null)
    {
        return $this->app->make(ResolverManagerInterface::class)->resolve(func_get_args());
    }
public function action($action, $task = null)
    {
        return $this->app->make(ResolverManagerInterface::class)->resolve(func_get_args());
    }
public function action ( $ action , $ task = null ) { return $ this -> app -> make ( ResolverManagerInterface :: class ) -> resolve ( func_get_args ( ) ) ; }
Returns an action suitable for including in a form action property.

@param string $action
@param string $task

@return \League\URL\URLInterface
Returns an action suitable for including in a form action property .