@@ -53,6 +53,9 @@ |
||
53 | 53 | throw new UnsupportedMarkupException($tag, 'There is no support to handle this markup format.'); |
54 | 54 | } |
55 | 55 | |
56 | + /** |
|
57 | + * @param string $extension |
|
58 | + */ |
|
56 | 59 | public function getEngineByExtension($extension) |
57 | 60 | { |
58 | 61 | if (isset($this->enginesByExtension[$extension])) |
@@ -38,6 +38,9 @@ |
||
38 | 38 | return $this->parseMarkup($arguments[0], $tag); |
39 | 39 | } |
40 | 40 | |
41 | + /** |
|
42 | + * @param string $tag |
|
43 | + */ |
|
41 | 44 | public function parseMarkup($content, $tag) |
42 | 45 | { |
43 | 46 | return $this->markupManager->getEngineByTag($tag)->parse($content); |