Issues (85)

src/Renderer/DocumentRendererInterface.php (1 issue)

1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of the league/commonmark package.
7
 *
8
 * (c) Colin O'Dell <[email protected]>
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace League\CommonMark\Renderer;
15
16
use League\CommonMark\Node\Block\Document;
17
use League\CommonMark\Output\RenderedContentInterface;
18
19
/**
20
 * Renders a parsed Document AST
21
 */
22
interface DocumentRendererInterface extends MarkdownRendererInterface
0 ignored issues
show
Deprecated Code introduced by
The interface League\CommonMark\Render...rkdownRendererInterface has been deprecated: since 2.3; use {@link DocumentRendererInterface} instead ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated  annotation

22
interface DocumentRendererInterface extends /** @scrutinizer ignore-deprecated */ MarkdownRendererInterface

This interface has been deprecated. The supplier of the interface has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the interface will be removed and what other interface to use instead.

Loading history...
23
{
24
    /**
25
     * Render the given Document node (and all of its children)
26
     */
27
    public function renderDocument(Document $document): RenderedContentInterface;
28
}
29