Definition at line 12 of file SpacelessTest.php.
◆ getTests()
Twig_Tests_Node_SpacelessTest::getTests |
( |
| ) |
|
Definition at line 22 of file SpacelessTest.php.
References array, and EOF.
31 echo
"<div> <div> foo </div> </div>";
32 echo trim(preg_replace(
'/>\s+</',
'><', ob_get_clean()));
Represents a node in the AST.
Represents a spaceless node.
Create styles array
The data for the language used.
const EOF
How fgetc() reports an End Of File.
◆ testConstructor()
Twig_Tests_Node_SpacelessTest::testConstructor |
( |
| ) |
|
Definition at line 14 of file SpacelessTest.php.
References array.
19 $this->assertEquals($body, $node->getNode(
'body'));
Represents a node in the AST.
Represents a spaceless node.
Create styles array
The data for the language used.
The documentation for this class was generated from the following file: