getCompiler() public method

public getCompiler ( )
 public function testCompileClassConstant()
 {
     $expression = new StaticConstantExpression('\\StaticConstantExpressionTest::SOME_VALUE', 1);
     $this->assertEquals('\\StaticConstantExpressionTest::SOME_VALUE', $this->environment->getCompiler()->compile($expression)->getSource());
 }