$ this-& gt; Request-> has('id ',' get ')? Yes, judge whether there is an id parameter. If there is an id parameter in the current get request, it will return true regardless of the value, and false if there is no id parameter.
When you don't understand, I suggest reading more source code of the framework, which is more helpful to you and more efficient than asking questions online.