getForceCompile() public method

Returns the current value of force_compile flag.
public getForceCompile ( ) : boolean
return boolean
Example #1
0
 /**
  * @dataProvider dataProvider
  */
 public function testSetGetForceCompile(Smarty $smarty)
 {
     $this->assertFalse($smarty->getForceCompile());
     $smarty->setForceCompile(true);
     $this->assertTrue($smarty->getForceCompile());
 }