services:
    _defaults:
        autowire: true
        autoconfigure: true
        public: false

    AOE\Crawler\:
        resource: '../Classes/*'

    AOE\Crawler\Command\BuildQueueCommand:
        tags:
            - name: 'console.command'
              command: 'crawler:buildQueue'
              description: 'Create entries in the queue that can be processed at once'

    AOE\Crawler\Command\FlushQueueCommand:
        tags:
            - name: 'console.command'
              command: 'crawler:flushQueue'
              description: 'Remove queue entries and perform a cleanup'

    AOE\Crawler\Command\ProcessQueueCommand:
        tags:
            - name: 'console.command'
              command: 'crawler:processQueue'
              description: 'Trigger the crawler to process the queue entries'
