/** * {@inheritdoc} */ public function __construct($model) { parent::__construct($model); $this->markUnknown(); }
/** * @param array $notification * @param mixed $model */ public function __construct(array $notification, $model = null) { $this->notification = $notification; parent::__construct($model); }