protected function createOrchestraDriver(): Notification
    {
        $mailer = $this->app->make('orchestra.mail');
        $notifier = new Handlers\Orchestra($mailer);

        if ($mailer->attached()) {
            $notifier->attach($mailer->getMemoryProvider());
        } else {
            $notifier->attach($this->app->make('orchestra.memory')->makeOrFallback());
        }

        return $notifier;
    }
protected function createOrchestraDriver(): Notification
    {
        $mailer = $this->app->make('orchestra.mail');
        $notifier = new Handlers\Orchestra($mailer);

        if ($mailer->attached()) {
            $notifier->attach($mailer->getMemoryProvider());
        } else {
            $notifier->attach($this->app->make('orchestra.memory')->makeOrFallback());
        }

        return $notifier;
    }
protected function createOrchestraDriver ( ) : Notification { $ mailer = $ this -> app -> make ( 'orchestra.mail' ) ; $ notifier = new Handlers \ Orchestra ( $ mailer ) ; if ( $ mailer -> attached ( ) ) { $ notifier -> attach ( $ mailer -> getMemoryProvider ( ) ) ; } else { $ notifier -> attach ( $ this -> app -> make ( 'orchestra.memory' ) -> makeOrFallback ( ) ) ; } return $ notifier ; }
Create Orchestra Platform driver.

@return \Orchestra\Contracts\Notification\Notification
Create Orchestra Platform driver .