<?php

namespace App\Mail;

use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Queue\ShouldQueue;

class NewCompanyInfo extends Mailable
{
    use Queueable, SerializesModels;

	public $company;
	
    /**
     * Create a new message instance.
     *
     * @return void
     */
    public function __construct($company)
    {
		$this->company = $company;
    }

    /**
     * Build the message.
     *
     * @return $this
     */
    public function build()
    {
        return $this->subject('New Company')->view('emails.new_company_info');
    }
}
