Skip to content

Updates to specifying a cache class, added @Secure annotation.

Compare
Choose a tag to compare
@danadesrosiers danadesrosiers released this 05 Jan 21:23
· 96 commits to master since this release

Updated annot.cache to take an instance of any class implementing Doctrine\Common\Cache\Cache. Previously annot.cache accepted only a string which limited caching choices to existing Doctrine cache implementations that did not require any setup more complicated than an empty constructor. Now anything could be used as long as it implements the Cache interface. The string input still works as it always has, but is not recommended.

Added the @secure annotation. This provides the functionality included by the security trait.