1 | <?php |
||
23 | class FilesystemMetadata extends ResourceMetadata |
||
24 | { |
||
25 | private $filesystemPath; |
||
26 | |||
27 | public function __construct($filesystemPath) |
||
31 | |||
32 | /** |
||
33 | * {@inheritdoc} |
||
34 | */ |
||
35 | public function getCreationTime() |
||
48 | |||
49 | /** |
||
50 | * {@inheritdoc} |
||
51 | */ |
||
52 | public function getAccessTime() |
||
59 | |||
60 | /** |
||
61 | * {@inheritdoc} |
||
62 | */ |
||
63 | public function getModificationTime() |
||
70 | |||
71 | /** |
||
72 | * {@inheritdoc} |
||
73 | */ |
||
74 | public function getSize() |
||
81 | |||
82 | /** |
||
83 | * On Windows, fileXtime functions see only changes |
||
84 | * on the symlink file and not the original one. |
||
85 | * |
||
86 | * @param string $path |
||
87 | * |
||
88 | * @return string |
||
89 | */ |
||
90 | private function fixWindowsPath($path) |
||
98 | } |
||
99 |