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