. */ declare(strict_types=1); namespace FireflyIII\Mail; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; use Laravel\Passport\Client; /** * Class OAuthTokenCreatedMail * */ class OAuthTokenCreatedMail extends Mailable { use Queueable; use SerializesModels; public Client $client; /** * OAuthTokenCreatedMail constructor. * * @param Client $client */ public function __construct(Client $client) { $this->client = $client; } /** * Build the message. * * @return $this */ public function build(): self { return $this ->markdown('emails.oauth-client-created') ->subject((string)trans('email.oauth_created_subject')); } }