Prado\Caching\TDirectoryCacheDependency::getRecursiveCheck PHP Method

getRecursiveCheck() public method

public getRecursiveCheck ( ) : boolean
return boolean whether the subdirectories of the directory will also be checked. It defaults to true.
    public function getRecursiveCheck()
    {
        return $this->_recursiveCheck;
    }

Usage Example

 public function testRecursiveCheck()
 {
     $directory = realpath(dirname(__FILE__) . '/temp');
     $dependency = new TDirectoryCacheDependency(dirname(__FILE__) . '/temp');
     $this->assertTrue($dependency->getRecursiveCheck());
     $dependency->setRecursiveCheck(false);
     $this->assertFalse($dependency->getRecursiveCheck());
 }