client_id = $client->getClientId(); $this->client_name = $client->getApplicationName(); $this->user_email = $client->getOwner()->getEmail(); $this->user_fullname = $client->getOwner()->getFullName(); } /** * Build the message. * * @return $this */ public function build() { $subject = Config::get("mail.verification_email_subject"); if(empty($subject)) $subject = sprintf("[%s] Verify Email Address", Config::get('app.app_name')); Log::warning(sprintf("OAuth2ClientLocked::build to %s", $this->user_email)); return $this->from(Config::get("mail.from")) ->to($this->user_email) ->subject($subject) ->view('emails.oauth2_client_locked'); } }