public function send() { $method = $this->type === static::TYPE_SUCCESS ? 'info' : 'error'; $this->log->{$method}("{$this->subject}: {$this->message}"); }