| 1 | <?php |
||
| 10 | class DocumentationViewer implements DataCollectorInterface, \Serializable |
||
| 11 | { |
||
| 12 | const NAME = 'megaman'; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var Extractor |
||
| 16 | */ |
||
| 17 | private $cache; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param Extractor $cache |
||
| 21 | */ |
||
| 22 | public function __construct(Extractor $cache) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return array |
||
| 29 | */ |
||
| 30 | public function getDependencies() |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | public function collect(Request $request, Response $response, \Exception $exception = null) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * {@inheritdoc} |
||
| 44 | */ |
||
| 45 | public function getName() |
||
| 49 | |||
| 50 | /** |
||
| 51 | * {@inheritdoc} |
||
| 52 | */ |
||
| 53 | public function serialize() |
||
| 57 | |||
| 58 | /** |
||
| 59 | * {@inheritdoc} |
||
| 60 | */ |
||
| 61 | public function unserialize($value) |
||
| 65 | } |
||
| 66 |