摘要: 以 Routes/web.php 文件为例 Route::get('/', function () { return view('welcome');}); 关于 facade分析比较不错的一篇文章:https://learnku.com/articles/5464/the-facade-imple 阅读全文
posted @ 2021-07-17 10:29 i金少 阅读(25) 评论(0) 推荐(0)
摘要: 1、例子类、对象 class Foo { private $bar = [1,2]; public function go() { echo "walk to school"; } }$foo = new Foo(); 2、利用反射打印方法 $reflector = new \ReflectionC 阅读全文
posted @ 2021-07-17 09:58 i金少 阅读(157) 评论(0) 推荐(0)