public function push($view, array $data = [], $callback = null, ?string $queue = null): ReceiptContract
    {
        $method = $this->shouldBeQueued() ? 'queue' : 'send';

        return $this->{$method}($view, $data, $callback, $queue);
    }
public function push($view, array $data = [], $callback = null, ?string $queue = null): ReceiptContract
    {
        $method = $this->shouldBeQueued() ? 'queue' : 'send';

        return $this->{$method}($view, $data, $callback, $queue);
    }
public function push ( $ view , array $ data = [ ] , $ callback = null , ? string $ queue = null ) : ReceiptContract { $ method = $ this -> shouldBeQueued ( ) ? 'queue' : 'send' ; return $ this -> { $ method } ( $ view , $ data , $ callback , $ queue ) ; }
Allow Orchestra Platform to either use send or queue based on
settings.

@param  \Illuminate\Contracts\Mail\Mailable|string|array  $view
@param  array  $data
@param  \Closure|string|null  $callback
@param  string|null  $queue

@return \Orchestra\Contracts\Notification\Receipt
Allow Orchestra Platform to either use send or queue based on settings .