65 lines
1.2 KiB
YAML
65 lines
1.2 KiB
YAML
name: AttributeBagInterface
|
|
class_comment: null
|
|
dependencies:
|
|
- name: SessionBagInterface
|
|
type: class
|
|
source: Symfony\Component\HttpFoundation\Session\SessionBagInterface
|
|
properties: []
|
|
methods:
|
|
- name: has
|
|
visibility: public
|
|
parameters:
|
|
- name: name
|
|
comment: '# * Attributes store.
|
|
|
|
# *
|
|
|
|
# * @author Drak <drak@zikula.org>
|
|
|
|
# */
|
|
|
|
# interface AttributeBagInterface extends SessionBagInterface
|
|
|
|
# {
|
|
|
|
# /**
|
|
|
|
# * Checks if an attribute is defined.'
|
|
- name: get
|
|
visibility: public
|
|
parameters:
|
|
- name: name
|
|
- name: default
|
|
default: 'null'
|
|
comment: '# * Returns an attribute.'
|
|
- name: set
|
|
visibility: public
|
|
parameters:
|
|
- name: name
|
|
- name: value
|
|
comment: '# * Sets an attribute.'
|
|
- name: all
|
|
visibility: public
|
|
parameters: []
|
|
comment: '# * Returns attributes.
|
|
|
|
# *
|
|
|
|
# * @return array<string, mixed>'
|
|
- name: replace
|
|
visibility: public
|
|
parameters:
|
|
- name: attributes
|
|
comment: null
|
|
- name: remove
|
|
visibility: public
|
|
parameters:
|
|
- name: name
|
|
comment: '# * Removes an attribute.
|
|
|
|
# *
|
|
|
|
# * @return mixed The removed value or null when it does not exist'
|
|
traits:
|
|
- Symfony\Component\HttpFoundation\Session\SessionBagInterface
|
|
interfaces: []
|