From e26326268213eb3a950baa9758d81ffe507a9e36 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Wed, 14 Mar 2018 11:45:16 +0100 Subject: [PATCH 1/1] --- README.rst | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 README.rst diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..62314bb --- /dev/null +++ b/README.rst @@ -0,0 +1,22 @@ +- vendor/laravel/framework/src/Illuminate/Http/Request.php - Illuminate\Http\Request::validate() does not exist + +:: + + class Request extends SymfonyRequest implements Arrayable, ArrayAccess + { + use Concerns\InteractsWithContentTypes, + Concerns\InteractsWithFlashData, + Concerns\InteractsWithInput, + Macroable; + + +Neither SymfonyRequest nor the traits have a ``validate()`` method. + +But ``Macroable`` defines ``__call`` and ``__callStatic``, so probably from there. Can't dump $request because too large -> link to blogpost + +:: + + $ ack 'equest::macro' + vendor/laravel/framework/src/Illuminate/Foundation/Providers/FoundationServiceProvider.php + 38: Request::macro('validate', function (array $rules, ...$params) { + -- 2.30.2