platform/api/laravel/Foundation/Http/MaintenanceModeBypassCookie.yaml
2024-09-02 10:44:11 -07:00

40 lines
809 B
YAML

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: []