public function render()
    {
        return $this->withLocale($this->locale, function () {
            Container::getInstance()->call([$this, 'build']);

            return Container::getInstance()->make('mailer')->render(
                $this->buildView(), $this->buildViewData()
            );
        });
    }
public function render()
    {
        return $this->withLocale($this->locale, function () {
            Container::getInstance()->call([$this, 'build']);

            return Container::getInstance()->make('mailer')->render(
                $this->buildView(), $this->buildViewData()
            );
        });
    }
public function render ( ) { return $ this -> withLocale ( $ this -> locale , function ( ) { Container :: getInstance ( ) -> call ( [ $ this , 'build' ] ) ; return Container :: getInstance ( ) -> make ( 'mailer' ) -> render ( $ this -> buildView ( ) , $ this -> buildViewData ( ) ) ; } ) ; }
Render the mailable into a view.

@return \Illuminate\View\View

@throws \ReflectionException
Render the mailable into a view .