Revert "adapt to the interface change"

Sorry, I messed up, and did the update to soon, on a branch that wants probably to stay 2.3-compatible.

This should be re-applied when this repository becomes 2.4-compatible.

See https://github.com/sonata-project/SonataDoctrinePhpcrAdminBundle/pull/319