2019年11月8日

摘要: request的方法 描述 input('key','default-value') 此方法可以获取get请求所带来的特定参数的值,如果没有该参数可以提供默认值 all() 此方法获取get请求的所有参数,然后会返回一个数组,一个键值对数组 path() 对于http://localhost/tes 阅读全文
posted @ 2019-11-08 18:17 刘应杰 阅读(9052) 评论(0) 推荐(0) 编辑
摘要: The Repository Pattern in Laravel is a very useful pattern with a couple of great uses. The first use is the abstraction that it provides. Meaning, it 阅读全文
posted @ 2019-11-08 14:24 刘应杰 阅读(150) 评论(0) 推荐(0) 编辑
摘要: Laravel Repository Pattern The Repository Pattern can be very helpful to you in order to keep your code a little cleaner and more readable. In fact, y 阅读全文
posted @ 2019-11-08 00:31 刘应杰 阅读(228) 评论(0) 推荐(0) 编辑

导航