PHP 인터페이스 Cache\Taggable\TaggableItemInterface

저자: Tobias Nyholm ([email protected])
파일 보기 프로젝트 열기: php-cache/cache 0 사용 예제들

공개 메소드들

메소드 설명
addTag ( string $tag ) Append a tag.
getTags ( ) : array Get an array with the tags.
setTags ( array $tags ) Replace the current tags with a new set of tags.

메소드 상세

addTag() 공개 메소드

Append a tag.
public addTag ( string $tag )
$tag string

getTags() 공개 메소드

Get an array with the tags.
public getTags ( ) : array
리턴 array

setTags() 공개 메소드

Replace the current tags with a new set of tags.
public setTags ( array $tags )
$tags array