Fix cache invalidate signature method on ApiCache.

Doc Fix: yes
Applies to: all

Look at HttpKernel\HttpCache::invalidate signature:

https://github.com/symfony/HttpKernel/blob/2.0/HttpCache/HttpCache.php#L243
https://github.com/symfony/HttpKernel/blob/2.1/HttpCache/HttpCache.php#L256
https://github.com/symfony/HttpKernel/blob/2.2/HttpCache/HttpCache.php#L259
https://github.com/symfony/HttpKernel/blob/master/HttpCache/HttpCache.php#L259