Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
provide support for Zend/Cache and Doctrine/Cache? #2
You need doctrine-common to have annotations because Symfony rightly does not "reinvent the wheel" and instead uses the already existing annotation parser included there. Based on this, it is pretty much guaranteed that you will have doctrine-common installed, as most of the extended framework uses annotations and requires it, even if you do not use Doctrine DBAL or the ORM.
Also you are either using the Doctrine cache classes or Zend Cache in this case, with Doctrine you are adding zero dependencies most of the time, where as with Zend Cache you are adding two dependencies (Zend_Cache and Zend_Filter) 100% of the time.
Based on that, it is preferable to use Doctrine, don't you think?
@mheleniak thats right. If you need FileCache or PHPFileCache you will need to use Doctrine/Commons > 2.2. indeed.