public function hasTransport(string $transport): bool
    {
        $method = 'create' . Str::studly($transport) . 'Transport';

        return \method_exists($this, $method) || isset($this->extensions[$transport]);
    }