D
D
damn2019-08-21 14:40:46
Documentation
damn, 2019-08-21 14:40:46

Explain the Middleware action in the controller?

Explain this code example from laravel documentation: What does it do?
$this->middleware('subscribed')->except('store');

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey, 2019-08-21
@VladimirAndreev

before performing the action, it does what is in the middleware
(2+2)*4
respectively, expanding the brackets is the middleware

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question