How would one pass a value from my controller to the model and $rules attribute like below?
protected $rules = [
....
'username' => 'required|unique:users,username,NULL,id,tenant_id,'.$this->tenant_id
];
The following works in the controller, but replaces the entire rules set in the model (and is not as flexible)
$myModel->setRules([
'username' => required|unique:users,username,NULL,id,tenant_id,'.$this->tenant_id
]);