[DCOM-284] No Way to Get Cached File Creation Time? Created: 26/Apr/15  Updated: 26/Apr/15

Status: Open
Project: Doctrine Common
Component/s: Caching
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Chad Sikorra Assignee: Benjamin Eberlei
Resolution: Unresolved Votes: 0
Labels: None


 Description   

I want to use the FilesystemCache type to store an object that gets created by parsing a large chunk of YAML. If the YAML modifcation time is greater than the cache file creation time, then I refresh the cache. However, I cannot seem to find any method that will let me actually get this information (the time that the cache file was created).

I could just use the getFilename() method of the FileCache class then use PHP functions to get the creation time, but the method is marked as protected. Is that just to keep it inline with only the methods defined on the interface? It would be nice to be able to somehow get this information.






Generated at Sun Apr 26 15:46:28 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.