[FrameworkBundle] removed deprecated method from cache:clear command
merged branch Tobion/cacheclear-deprecated-method (PR #8132)

This PR was merged into the 2.3 branch.

Discussion
----------

[FrameworkBundle] removed deprecated method from cache:clear command

bc break: no
test pass: yes

Commits
-------

024bd9e [FrameworkBundle] removed deprecated method from cache:clear command