Example #1
0
 public function toAttachment($user)
 {
     // Don't include the user! It's just information
     return parent::toAttachment();
 }
Example #2
0
 public function toAttachment($user)
 {
     return array_merge(parent::toAttachment($user), ["type" => "error"]);
 }