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