about 9 years ago
There are n number of situation where we want to pass parameter in URL and use that parameter in our controller.That can be easily explain by using example:
There are few steps which I have implemented that are:
Step 1:First we will define our routest in
routes.php
Here we can see that we have pass parameter in route url.
Step 2:Now we have get that parameter by using sendMeetingReminder function
In the above code we have get userRole and entryId .
By this way we can pass as parameters to the Url class.
0 Comment(s)