mercredi 13 mai 2020

Console data in PHP laravel controller

Following is my code of the controller. I'm calling this controller, but still unable to do any console. Am I doing anything wrong here? I just want to observe values in console, functionality is working fine.

public function registerValidation(Request $request)
    {
        dd("request 2");
        var_dump("request 2");
        dump("request 2");
        dd($request);
        var_dump($request);
        dump($request);
        die("here");
        $this->validate(
            $request,
            [
                'password' => 'required|string|min:6|confirmed',
                'password_confirmation' => 'required',
                'termsconditions' => 'required',
            ]
        );
    }


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire