PHP 클래스 N98\Util\Filesystem

파일 보기 프로젝트 열기: netz98/n98-magerun 1 사용 예제들

공개 메소드들

메소드 설명
humanFileSize ( integer $bytes, integer $decimals = 2 ) : string
recursiveCopy ( string $src, string $dst, string[] $blacklist = [] ) : void
recursiveRemoveDirectory ( string $directory, boolean $empty = false ) : boolean

메소드 상세

humanFileSize() 공개 정적인 메소드

또한 보기: http://www.php.net/manual/en/function.filesize.php#106569
public static humanFileSize ( integer $bytes, integer $decimals = 2 ) : string
$bytes integer
$decimals integer
리턴 string

recursiveCopy() 공개 메소드

public recursiveCopy ( string $src, string $dst, string[] $blacklist = [] ) : void
$src string
$dst string
$blacklist string[]
리턴 void

recursiveRemoveDirectory() 공개 메소드

또한 보기: http://lixlpixel.org/recursive_function/php/recursive_directory_delete/
public recursiveRemoveDirectory ( string $directory, boolean $empty = false ) : boolean
$directory string
$empty boolean
리턴 boolean