change pimple to symfony dep injection