protected function fire($event, $key, array $payload = [])
    {
        $payload[] = $this->context;

        if ($this->isEventsEnabled()) {
            $this->dispatcher->fire("settings.{$event}: {$key}", $payload);
        }
    }
protected function fire($event, $key, array $payload = [])
    {
        $payload[] = $this->context;

        if ($this->isEventsEnabled()) {
            $this->dispatcher->fire("settings.{$event}: {$key}", $payload);
        }
    }
protected function fire ( $ event , $ key , array $ payload = [ ] ) { $ payload [ ] = $ this -> context ; if ( $ this -> isEventsEnabled ( ) ) { $ this -> dispatcher -> fire ( "settings.{$event}: {$key}" , $ payload ) ; } }
Fire settings event.

@param string $event
@param string $key
@param array $payload
Fire settings event .