services:
  foo.example:
    class: Drupal\foo\Example
    arguments: ['@entity_type.manager', '@cron', '@cache_tags.invalidator']
