/**
  * @inheritdoc
  */
 public function attributes()
 {
     return array_merge_recursive(parent::attributes(), ['pattern', 'replacement']);
 }