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

65 lines
1.2 KiB
YAML

name: InteractsWithFlashData
class_comment: null
dependencies:
- name: Model
type: class
source: Illuminate\Database\Eloquent\Model
properties: []
methods:
- name: old
visibility: public
parameters:
- name: key
default: 'null'
- name: default
default: 'null'
comment: '# * Retrieve an old input item.
# *
# * @param string|null $key
# * @param \Illuminate\Database\Eloquent\Model|string|array|null $default
# * @return string|array|null'
- name: flash
visibility: public
parameters: []
comment: '# * Flash the input for the current request to the session.
# *
# * @return void'
- name: flashOnly
visibility: public
parameters:
- name: keys
comment: '# * Flash only some of the input to the session.
# *
# * @param array|mixed $keys
# * @return void'
- name: flashExcept
visibility: public
parameters:
- name: keys
comment: '# * Flash only some of the input to the session.
# *
# * @param array|mixed $keys
# * @return void'
- name: flush
visibility: public
parameters: []
comment: '# * Flush all of the old input from the session.
# *
# * @return void'
traits:
- Illuminate\Database\Eloquent\Model
interfaces: []