Gearman GearmanClient::setContext
(PECL gearman >= 0.6.0)
GearmanClient::setContext — 애플리케이션 컨텍스트 설정
설명
public GearmanClient::setContext(string $context
): bool
GearmanClient::context()에서 나중에 검색할 수 있는 애플리케이션 컨텍스트를 제공하기 위해 임의의 문자열을 설정합니다.
매개변수
context
- 임의의 컨텍스트 데이터
반환 값
항상 true
를 반환합니다.
기타
- GearmanClient::context() - 애플리케이션 컨텍스트 가져오기