@@ 57-64 (lines=8) @@ | ||
54 | * @param MarkdownDocumentParser $markdownDocumentParser |
|
55 | * @param array $markdownCmsConfig |
|
56 | */ |
|
57 | public function __construct(TemplateRendererInterface $templateRenderer, ContentCreator $contentCreator, |
|
58 | MarkdownDocumentParser $markdownDocumentParser, array $markdownCmsConfig) |
|
59 | { |
|
60 | $this->templateRenderer = $templateRenderer; |
|
61 | $this->contentCreator = $contentCreator; |
|
62 | $this->markdownDocumentParser = $markdownDocumentParser; |
|
63 | $this->markdownCmsConfig = $markdownCmsConfig; |
|
64 | } |
|
65 | ||
66 | public function __invoke(ServerRequestInterface $request, ResponseInterface $response, callable $next = null) |
|
67 | { |
@@ 57-64 (lines=8) @@ | ||
54 | * @param MarkdownDocumentParser $markdownDocumentParser |
|
55 | * @param array $markdownCmsConfig |
|
56 | */ |
|
57 | public function __construct(TemplateRendererInterface $templateRenderer, ContentCreator $contentCreator, |
|
58 | MarkdownDocumentParser $markdownDocumentParser, array $markdownCmsConfig) |
|
59 | { |
|
60 | $this->templateRenderer = $templateRenderer; |
|
61 | $this->contentCreator = $contentCreator; |
|
62 | $this->markdownDocumentParser = $markdownDocumentParser; |
|
63 | $this->markdownCmsConfig = $markdownCmsConfig; |
|
64 | } |
|
65 | ||
66 | public function __invoke(ServerRequestInterface $request, ResponseInterface $response, callable $next = null) |
|
67 | { |