PHP 클래스 org\bovigo\vfs\Quota

부터: 1.1.0
파일 보기 프로젝트 열기: mikey179/vfsstream

공개 메소드들

메소드 설명
__construct ( integer $amount ) constructor
isLimited ( ) : boolean checks if a quota is set
spaceLeft ( integer $usedSpace ) : integer checks if given used space exceeda quota limit
unlimited ( ) : Quota create with unlimited space

메소드 상세

__construct() 공개 메소드

constructor
public __construct ( integer $amount )
$amount integer quota in bytes

isLimited() 공개 메소드

checks if a quota is set
public isLimited ( ) : boolean
리턴 boolean

spaceLeft() 공개 메소드

checks if given used space exceeda quota limit
public spaceLeft ( integer $usedSpace ) : integer
$usedSpace integer
리턴 integer

unlimited() 공개 정적인 메소드

create with unlimited space
public static unlimited ( ) : Quota
리턴 Quota