PHP 클래스 Banago\PHPloy\Connection

파일 보기 프로젝트 열기: banago/phploy

공개 프로퍼티들

프로퍼티 타입 설명
$server League\Flysystem\Filesystem

공개 메소드들

메소드 설명
__construct ( string $server ) : Connection Connection constructor.

보호된 메소드들

메소드 설명
connectToFtp ( string $server ) : League\Flysystem\Filesystem | null Connects to the FTP Server.
connectToSftp ( string $server ) : League\Flysystem\Filesystem | null Connects to the SFTP Server.

비공개 메소드들

메소드 설명
getCommonOptions ( $server )

메소드 상세

__construct() 공개 메소드

Connection constructor.
public __construct ( string $server ) : Connection
$server string
리턴 Connection

connectToFtp() 보호된 메소드

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

connectToSftp() 보호된 메소드

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

프로퍼티 상세

$server 공개적으로 프로퍼티

public Filesystem,League\Flysystem $server
리턴 League\Flysystem\Filesystem