The following features are deprecated in 5.2 and will be removed in the 5.3 release in June 2016:
Illuminate\Contracts\Bus\SelfHandling contract. Can be removed from jobs.
The lists method on the Collection, query builder and Eloquent query builder objects has been renamed to pluck. The method signature remains the same.
Implicit controller routes using Route::controller have been deprecated. Please use explicit route registration in your routes file. This will likely be extracted into a package.
The get, post, and other route helper function have been removed. You may use the Route facade instead.
The database session driver from 5.1 has been renamed to legacy-database and will be removed. Consult notes on the "database session driver" above for more information.
The Str::randomBytes function has been deprecated in favor of the random_bytes native PHP function.
The Str::equals function has been deprecated in favor of the hash_equals native PHP function.
Illuminate\View\Expression has been deprecated in favor of Illuminate\Support\HtmlString.
2 个回复
双子星 - Laravel群:9783891
赞同来自:
Deprecations
The following features are deprecated in 5.2 and will be removed in the 5.3 release in June 2016:
隐式控制器在5.2中不赞成使用,在5.3中将被取消(变成扩展包)。我感觉这个用着很方便啊,为毛要取消啊,真是,一个个的定义多麻烦,一个隐式的可以省很多事呢。
meforeg
赞同来自: