You are here

public function TwigTestFoo::bar in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/twig/twig/test/Twig/Tests/IntegrationTest.php \TwigTestFoo::bar()

File

vendor/twig/twig/test/Twig/Tests/IntegrationTest.php, line 51

Class

TwigTestFoo

Code

public function bar($param1 = null, $param2 = null) {
  return 'bar' . ($param1 ? '_' . $param1 : '') . ($param2 ? '-' . $param2 : '');
}