[Symfony] Register repository as service