Gaufrette\File::getMtime PHP Method

getMtime() public method

Returns the file modified time.
public getMtime ( ) : integer
return integer
    public function getMtime()
    {
        return $this->mtime = $this->filesystem->mtime($this->key);
    }

Usage Example

Beispiel #1
0
 public function getLastModified()
 {
     return new DateTime('@' . $this->file->getMtime());
 }
All Usage Examples Of Gaufrette\File::getMtime