PHP 클래스 Molajo\Copy

부터: 1.0.0
파일 보기 프로젝트 열기: molajo/framework

보호된 프로퍼티들

프로퍼티 타입 설명
$base_path string Base Path
$exclude_folders array Exclude Folders
$files array Files
$folders array Folders
$source_path string Source Path
$target_path string Target Path

공개 메소드들

메소드 설명
__construct ( string $base_path, string $source_path, string $target_path, array $exclude_folders ) Constructor
process ( ) Process Request

보호된 메소드들

메소드 설명
copySourceToTarget ( ) : object Copy Source to Target
removeTargetFiles ( string $directory ) Remove Directory and all contents

메소드 상세

__construct() 공개 메소드

Constructor
부터: 1.0.0
public __construct ( string $base_path, string $source_path, string $target_path, array $exclude_folders )
$base_path string
$source_path string
$target_path string
$exclude_folders array

copySourceToTarget() 보호된 메소드

Copy Source to Target
부터: 1.0.0
protected copySourceToTarget ( ) : object
리턴 object

process() 공개 메소드

Process Request
부터: 1.0.0
public process ( )

removeTargetFiles() 보호된 메소드

Remove Directory and all contents
부터: 1.0.0
protected removeTargetFiles ( string $directory )
$directory string

프로퍼티 상세

$base_path 보호되어 있는 프로퍼티

Base Path
부터: 1.0.0
protected string $base_path
리턴 string

$exclude_folders 보호되어 있는 프로퍼티

Exclude Folders
부터: 1.0.0
protected array $exclude_folders
리턴 array

$files 보호되어 있는 프로퍼티

Files
부터: 1.0.0
protected array $files
리턴 array

$folders 보호되어 있는 프로퍼티

Folders
부터: 1.0.0
protected array $folders
리턴 array

$source_path 보호되어 있는 프로퍼티

Source Path
부터: 1.0.0
protected string $source_path
리턴 string

$target_path 보호되어 있는 프로퍼티

Target Path
부터: 1.0.0
protected string $target_path
리턴 string