| 1 | <?php |
||
| 11 | class Dumper implements DumperInterface |
||
| 12 | { |
||
| 13 | use FormatterAwareTrait; |
||
| 14 | use WriterAwareTrait; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var bool |
||
| 18 | */ |
||
| 19 | private $enabled = false; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param boolean $enabled |
||
| 23 | */ |
||
| 24 | public function setEnabled($enabled) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * {@inheritdoc} |
||
| 31 | */ |
||
| 32 | public function dump($id, $output, $ext = 'txt') |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param string $id |
||
| 47 | * @param string $ext |
||
| 48 | * @return string |
||
| 49 | */ |
||
| 50 | private function createName($id, $ext) |
||
| 54 | } |
||
| 55 |