action

The action function generates a URL for the given controller action:
<?php use App\Http\Controllers\HomeController;

$url = action([HomeController::class, 'index']);
<?php     public function redirectAction($name, $parameters = [], $absolute = true, $navigate = false)

    {

        $this->redirect(action($name, $parameters, $absolute), $navigate);

    }

}
<?php             $telescopeEntryId = (string) $telescopeEntry->uuid;



            return url(action([HomeController::class, 'index'])."/exceptions/{$telescopeEntryId}");

        } catch (Exception $exception) {

            return null;

        }
<?php     {

        try {


            return action('\Facade\Ignition\Http\Controllers\ShareReportController');

        } catch (Exception $exception) {

            return '';

        }
<?php     protected function executeEndpoint(): string

    {

        try {

            return action('\Facade\Ignition\Http\Controllers\ExecuteSolutionController');

        } catch (Throwable $exception) {

            return '';

        }