getTimestamp() публичный Метод

public getTimestamp ( ) : integer
Результат integer the last modification time of the file
Пример #1
0
 public function testFileName()
 {
     $dependency = new TFileCacheDependency(__FILE__);
     $this->assertEquals($dependency->getFileName(), __FILE__);
     $this->assertEquals($dependency->getTimestamp(), filemtime(__FILE__));
     $dependency = new TFileCacheDependency(dirname(__FILE__) . '/foo.txt');
     $this->assertFalse($dependency->getTimestamp());
 }