X
Create New Item
Item Type :
File
Folder
Item Name :
X
Search Results
vendor
league
flysystem
src
Ftp
Cancel
Backup
Advanced Editor
Save
<?php declare(strict_types=1); namespace League\Flysystem\Ftp; use RuntimeException; final class UnableToConnectToFtpHost extends RuntimeException implements FtpConnectionException { public static function forHost(string $host, int $port, bool $ssl, string $reason = ''): UnableToConnectToFtpHost { $usingSsl = $ssl ? ', using ssl' : ''; return new UnableToConnectToFtpHost("Unable to connect to host $host at port $port$usingSsl. $reason"); } }