for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author Gerard van Helden <[email protected]>
* @copyright Zicht Online <http://zicht.nl>
*/
namespace Zicht\Bundle\FrameworkExtraBundle\Twig\ControlStructures;
use Twig_Node;
* Represents a 'case' or a 'default' inside a switch
class SwitchCaseNode extends Twig_Node
{
* Constructor
*
* @param array $body
* @param array $expression
* @param int $fallthrough
* @param int $lineno
* @param null $tag
$tag
null
public function __construct($body, $expression, $fallthrough, $lineno = 0, $tag = null)
parent::__construct(
array(
'body' => $body
),
'expression' => $expression,
'fallthrough' => $fallthrough
$lineno,
);
}