api/laravel/Foundation/Http/MaintenanceModeBypassCookie.yaml

41 lines
809 B
YAML
Raw Permalink Normal View History

2024-09-26 09:03:21 +00:00
name: MaintenanceModeBypassCookie
class_comment: null
dependencies:
- name: Carbon
type: class
source: Illuminate\Support\Carbon
- name: Cookie
type: class
source: Symfony\Component\HttpFoundation\Cookie
properties: []
methods:
- name: create
visibility: public
parameters:
- name: key
comment: '# * Create a new maintenance mode bypass cookie.
# *
# * @param string $key
# * @return \Symfony\Component\HttpFoundation\Cookie'
- name: isValid
visibility: public
parameters:
- name: cookie
- name: key
comment: '# * Determine if the given maintenance mode bypass cookie is valid.
# *
# * @param string $cookie
# * @param string $key
# * @return bool'
traits:
- Illuminate\Support\Carbon
- Symfony\Component\HttpFoundation\Cookie
interfaces: []