mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-12 10:26:32 +00:00
Add UnaryInterface
This commit is contained in:
@@ -16,7 +16,7 @@ use Twig\Compiler;
|
|||||||
use Twig\Node\Expression\AbstractExpression;
|
use Twig\Node\Expression\AbstractExpression;
|
||||||
use Twig\Node\Node;
|
use Twig\Node\Node;
|
||||||
|
|
||||||
abstract class AbstractUnary extends AbstractExpression
|
abstract class AbstractUnary extends AbstractExpression implements UnaryInterface
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @param AbstractExpression $node
|
* @param AbstractExpression $node
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of Twig.
|
||||||
|
*
|
||||||
|
* (c) Fabien Potencier
|
||||||
|
*
|
||||||
|
* For the full copyright and license information, please view the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace Twig\Node\Expression\Unary;
|
||||||
|
|
||||||
|
use Twig\Node\Expression\AbstractExpression;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @internal
|
||||||
|
*/
|
||||||
|
interface UnaryInterface
|
||||||
|
{
|
||||||
|
public function __construct(AbstractExpression $node, int $lineno);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user