add anime+boucleproj

This commit is contained in:
2019-05-03 12:05:54 +02:00
parent 1a177c21bb
commit 3d878b3cb6
444 changed files with 35400 additions and 10029 deletions
@@ -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)