public function setField($key, $value)
    {
        $additionalFields = notifynder_config()->getAdditionalFields();
        if (in_array($key, $additionalFields)) {
            $this->setNotificationData($key, $value);
        }

        return $this;
    }
public function setField($key, $value)
    {
        $additionalFields = notifynder_config()->getAdditionalFields();
        if (in_array($key, $additionalFields)) {
            $this->setNotificationData($key, $value);
        }

        return $this;
    }
public function setField ( $ key , $ value ) { $ additionalFields = notifynder_config ( ) -> getAdditionalFields ( ) ; if ( in_array ( $ key , $ additionalFields ) ) { $ this -> setNotificationData ( $ key , $ value ) ; } return $ this ; }
Set a single field value.

@param string $key
@param mixed $value
@return $this
Set a single field value .