add anime+boucleproj
This commit is contained in:
@@ -1,25 +1,36 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Grav.Common.Twig
|
||||
* @package Grav\Common\Twig
|
||||
*
|
||||
* @copyright Copyright (C) 2015 - 2018 Trilby Media, LLC. All rights reserved.
|
||||
* @copyright Copyright (C) 2015 - 2019 Trilby Media, LLC. All rights reserved.
|
||||
* @license MIT License; see LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Grav\Common\Twig\Node;
|
||||
|
||||
class TwigNodeMarkdown extends \Twig_Node implements \Twig_NodeOutputInterface
|
||||
use Twig\Compiler;
|
||||
use Twig\Node\Node;
|
||||
use Twig\Node\NodeOutputInterface;
|
||||
|
||||
class TwigNodeMarkdown extends Node implements NodeOutputInterface
|
||||
{
|
||||
public function __construct(\Twig_Node $body, $lineno, $tag = 'markdown')
|
||||
/**
|
||||
* TwigNodeMarkdown constructor.
|
||||
* @param Node $body
|
||||
* @param int $lineno
|
||||
* @param string $tag
|
||||
*/
|
||||
public function __construct(Node $body, $lineno, $tag = 'markdown')
|
||||
{
|
||||
parent::__construct(['body' => $body], [], $lineno, $tag);
|
||||
}
|
||||
/**
|
||||
* Compiles the node to PHP.
|
||||
*
|
||||
* @param \Twig_Compiler A Twig_Compiler instance
|
||||
* @param Compiler $compiler A Twig_Compiler instance
|
||||
*/
|
||||
public function compile(\Twig_Compiler $compiler)
|
||||
public function compile(Compiler $compiler)
|
||||
{
|
||||
$compiler
|
||||
->addDebugInfo($this)
|
||||
|
||||
Reference in New Issue
Block a user