PHP 클래스 WellCommerce\Component\DataSet\Cache\CacheOptions

저자: Adam Piotrowski ([email protected])
파일 보기 프로젝트 열기: wellcommerce/wellcommerce 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$enabled boolean
$tags array
$ttl integer

공개 메소드들

메소드 설명
__construct ( boolean $enabled = false, integer $ttl = 3600, array $tags = [] ) CacheOptions constructor.
getTags ( ) : array
getTtl ( ) : integer
isEnabled ( ) : boolean

메소드 상세

__construct() 공개 메소드

CacheOptions constructor.
public __construct ( boolean $enabled = false, integer $ttl = 3600, array $tags = [] )
$enabled boolean
$ttl integer
$tags array

getTags() 공개 메소드

public getTags ( ) : array
리턴 array

getTtl() 공개 메소드

public getTtl ( ) : integer
리턴 integer

isEnabled() 공개 메소드

public isEnabled ( ) : boolean
리턴 boolean

프로퍼티 상세

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

protected bool $enabled
리턴 boolean

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

protected array $tags
리턴 array

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

protected int $ttl
리턴 integer