Rhymix\Framework\Cookie
get() #
public static function get(string $name): ?string
Get a cookie.
set() #
public static function set(
string $name,
string $value,
array $options = []
): bool
Set a cookie. Options may contain the following keys: - expires (days or Unix timestamp) - path - domain - secure - httponly - samesite Missing options will be replaced with Rhymix security configuration where applicable, e.g. secure and samesite.
remove() #
public static function remove(
string $name,
array $options = []
): bool
Delete a cookie. You must pass an options array with the same values that were used to create the cookie, except 'expires' which doesn't apply here.
개요
확장 기능 제작
테마 제작
클래스 및 함수 명세
- 라이믹스 프레임워크
- 프론트엔드 라이브러리
- 이벤트 목록
코어 개발 참여
기타 정보