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

Checks if the specified file has changed
public getFileStatus ( string $pathAndFilename ) : integer
$pathAndFilename string
Результат integer One of the STATUS_* constants
 /**
  * @test
  */
 public function getFileStatusReturnsStatusChangedIfTheFileExistedEarlierButTheModificationTimeHasChangedSinceThen()
 {
     $fileUrl = vfsStream::url('testDirectory') . '/test.txt';
     file_put_contents($fileUrl, 'test data');
     $this->strategy->getFileStatus($fileUrl);
     vfsStreamWrapper::getRoot()->getChild('test.txt')->lastModified(time() + 5);
     clearstatcache();
     $status = $this->strategy->getFileStatus($fileUrl);
     $this->assertSame(\Neos\Flow\Monitor\ChangeDetectionStrategy\ChangeDetectionStrategyInterface::STATUS_CHANGED, $status);
 }