/**
  * Overwrite the parent method to add the requires fields.
  *
  * @param  array    $fields
  * @return Template
  */
 public function create(array $fields)
 {
     $fields['group_id'] = Template::GROUP_ID;
     $fields['is_template'] = true;
     return parent::create($fields);
 }
예제 #2
0
 public function __construct(Notification $notification)
 {
     parent::__construct($notification);
 }