removed deprecated method usage
removed deprecated method usage

sonata-project/SonataDoctrinePhpcrAdminBundle,sonata-project/SonataDoctrinePhpcrAdminBundle,sonata-project/SonataDoctrinePhpcrAdminBundle