I´m using Laravel 5.2, and pass to my controller method the $request:
namespace App\Http\Controllers;
use Input, Session, Exception, Request;
class WebController extends Controller {
public function myfunction(Request $request) {
$request->fullUrl();
}
}
But Laravel return me this error:
Call to undefined method Illuminate\Support\Facades\Request::fullUrl()
In the docs for the 5.2 version all is right: https://laravel.com/docs/5.2/requests
This method fullUrl exits in the Request.php file ...
What is the problem?