public function compile(\Twig_Compiler $compiler)
	{
		$compiler
			->addDebugInfo($this)
			->write('return ');
		// check for an expression to return.
		if ($this->hasNode('expr')) {
			$compiler->subcompile($this->getNode('expr'));
		}
		else // Return '' if there isn't one
		{
			$compiler->raw('""');
		}

		$compiler->raw(";\n");
	}
public function compile(\Twig_Compiler $compiler)
	{
		$compiler
			->addDebugInfo($this)
			->write('return ');
		// check for an expression to return.
		if ($this->hasNode('expr')) {
			$compiler->subcompile($this->getNode('expr'));
		}
		else // Return '' if there isn't one
		{
			$compiler->raw('""');
		}

		$compiler->raw(";\n");
	}
public function compile ( \ Twig_Compiler $ compiler ) { $ compiler -> addDebugInfo ( $ this ) -> write ( 'return ' ) ; // check for an expression to return. if ( $ this -> hasNode ( 'expr' ) ) { $ compiler -> subcompile ( $ this -> getNode ( 'expr' ) ) ; } else // Return '' if there isn't one { $ compiler -> raw ( '""' ) ; } $ compiler -> raw ( ";\n" ) ; }
Compiles a Return_Node into PHP.
Compiles a Return_Node into PHP .