Laravel validation: unique rule 4th parameter
问题 Having a look through the Laravel docs, API documents and source code I am wondering if anyone knows what the 4th parameter id in the following unique rule is for? 'email' => 'unique:users,email_address,NULL,id,account_id,1' My current understanding of this rule is: users - looking in this table email_address - checking against this column NULL - would be where we could specify a primary key/ID value to ignore, but we haven't bothered so this parameter is essentially ignored id - unsure