PHP Class Banago\PHPloy\Connection

ファイルを表示 Open project: banago/phploy

Public Properties

Property Type Description
$server League\Flysystem\Filesystem

Public Methods

Method Description
__construct ( string $server ) : Connection Connection constructor.

Protected Methods

Method Description
connectToFtp ( string $server ) : League\Flysystem\Filesystem | null Connects to the FTP Server.
connectToSftp ( string $server ) : League\Flysystem\Filesystem | null Connects to the SFTP Server.

Private Methods

Method Description
getCommonOptions ( $server )

Method Details

__construct() public method

Connection constructor.
public __construct ( string $server ) : Connection
$server string
return Connection

connectToFtp() protected method

Connects to the FTP Server.
protected connectToFtp ( string $server ) : League\Flysystem\Filesystem | null
$server string
return League\Flysystem\Filesystem | null

connectToSftp() protected method

Connects to the SFTP Server.
protected connectToSftp ( string $server ) : League\Flysystem\Filesystem | null
$server string
return League\Flysystem\Filesystem | null

Property Details

$server public_oe property

public Filesystem,League\Flysystem $server
return League\Flysystem\Filesystem