The dd function dumps the given variables and ends execution of the script:
<?php dd($value);

dd($value1, $value2, $value3, ...);
<?php     public function __invoke(Request $request, $collection, $entry)

    {

        if (! $target = $entry->revision($request->revision)) {

            dd('no such revision', $request->revision);


        }
<?php     public function __invoke(Request $request, $collection, $entry)

    {

        if (! $target = $entry->revision($request->revision)) {

            dd('no such revision', $request->revision);


        }
<?php     public function dd($value)

    {

        function_exists('ddd') ? ddd($value) : dd($value);

    }
<?php     {

        $value = $this->context->all();



        function_exists('ddd') ? ddd($value) : dd($value);

    }

}