isCached() public method

This method will return true when this file instance was restored from the cache and not currently parsed. Otherwise this method will return false.
Since: 0.10.0
public isCached ( ) : boolean
return boolean
 /**
  * testIsCachedReturnsFalseByDefault
  *
  * @return void
  */
 public function testIsCachedReturnsFalseByDefault()
 {
     $file = new ASTCompilationUnit(null);
     $this->assertFalse($file->isCached());
 }