[FrameworkBundle] removed deprecated method from cache:clear command

bc break: no
test pass: yes