Yaconf Yaconf 클래스
(PECL yaconf >= 1.0.0)
소개
Yaconf는 구성 컨테이너이며 INIT 파일을 구문 분석하고 PHP가 시작될 때 결과를 PHP에 저장하며 결과는 전체 PHP 수명 주기와 함께 유지됩니다.
클래스 개요
class Yaconf {
/* Methods */
public static get(string $name, mixed $default_value = NULL): mixed
public static has(string $name): bool
}
목차
- Yaconf::get — 아이템 회수
- Yaconf::has — 항목이 있는지 확인