name: DataCollector
class_comment: null
dependencies:
- name: CutStub
  type: class
  source: Symfony\Component\VarDumper\Caster\CutStub
- name: ReflectionCaster
  type: class
  source: Symfony\Component\VarDumper\Caster\ReflectionCaster
- name: ClonerInterface
  type: class
  source: Symfony\Component\VarDumper\Cloner\ClonerInterface
- name: Data
  type: class
  source: Symfony\Component\VarDumper\Cloner\Data
- name: Stub
  type: class
  source: Symfony\Component\VarDumper\Cloner\Stub
- name: VarCloner
  type: class
  source: Symfony\Component\VarDumper\Cloner\VarCloner
properties: []
methods:
- name: cloneVar
  visibility: protected
  parameters:
  - name: var
  comment: "# * DataCollector.\n# *\n# * Children of this class must store the collected\
    \ data in the data property.\n# *\n# * @author Fabien Potencier <fabien@symfony.com>\n\
    # * @author Bernhard Schussek <bschussek@symfony.com>\n# */\n# abstract class\
    \ DataCollector implements DataCollectorInterface\n# {\n# protected array|Data\
    \ $data = [];\n# \n# private ClonerInterface $cloner;\n# \n# /**\n# * Converts\
    \ the variable into a serializable Data instance.\n# *\n# * This array can be\
    \ displayed in the template using\n# * the VarDumper component."
- name: getCasters
  visibility: protected
  parameters: []
  comment: '# * @return callable[] The casters to add to the cloner'
- name: __sleep
  visibility: public
  parameters: []
  comment: null
- name: __wakeup
  visibility: public
  parameters: []
  comment: null
- name: reset
  visibility: public
  parameters: []
  comment: "# * @internal to prevent implementing \\Serializable\n# */\n# final protected\
    \ function serialize(): void\n# {\n# }\n# \n# /**\n# * @internal to prevent implementing\
    \ \\Serializable\n# */\n# final protected function unserialize(string $data):\
    \ void\n# {\n# }\n# \n# /**\n# * @return void"
traits:
- Symfony\Component\VarDumper\Caster\CutStub
- Symfony\Component\VarDumper\Caster\ReflectionCaster
- Symfony\Component\VarDumper\Cloner\ClonerInterface
- Symfony\Component\VarDumper\Cloner\Data
- Symfony\Component\VarDumper\Cloner\Stub
- Symfony\Component\VarDumper\Cloner\VarCloner
interfaces:
- DataCollectorInterface