PHP Symfony-contract Resources