TP3.2 I remember that if I want to display something, I need a view, but laravel can display it without a controller. How did this happen?
Route::get('/', function () { return 222; });
欢迎选择我的课程,让我们一起见证您的进步~~
display and view have nothing to do with each other.
Don’t think about Laravel in terms of TP.
are all PHP frameworks, as long as echo、print、printf、die、exit,... can be output.
echo
print
printf
die
exit
display and view have nothing to do with each other.
Don’t think about Laravel in terms of TP.
are all PHP frameworks, as long as
echo
、print
、printf
、die
、exit
,... can be output.