Getting error is that Unexpected 'function' when I am using use function view; My operating system is ubuntu and LAMPP server.
Please note it is working fine in windows and xampp.
Why this is error occurring?
My controller,
namespace App\Http\Controllers;
use Illuminate\Routing\Controller as BaseController;
use Symfony\Component\HttpFoundation\Response;
use function view;
class WebController extends BaseController {
}
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire