| 1 | <?php |
||
| 9 | class MarkdownRenderController |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var Processor[] |
||
| 13 | */ |
||
| 14 | private $processors; |
||
| 15 | |||
| 16 | public function __construct() |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param Processor $processor |
||
| 23 | */ |
||
| 24 | public function addProcessor(Processor $processor) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param string $file |
||
| 31 | * @param string|null $page |
||
| 32 | * |
||
| 33 | * @return Response |
||
| 34 | */ |
||
| 35 | public function renderAction($file, $page = null) |
||
| 49 | } |
||
| 50 |