I'm using Symfony3 and I [noticed](http://symfony.com/doc/current/components/dependency_injection/factories.html) that `factory-class` and `factory-method` don't exist anymore, but `factory` does exist.

This is rather frustrating because I would like to use [pulse00/ffmpeg-bundle](https://github.com/pulse00/ffmpeg-bundle), but the `services.xml` seems to be pre-3.0.

[![factory-class and factory-method](https://i.stack.imgur.com/dOAHp.png)](https://i.stack.imgur.com/dOAHp.png)

As you can see the 4 red marked attributes are the problem:

```
factory-class="%dubture_ffmpeg.ffmpeg.class%" factory-method="create"
factory-class="%dubture_ffmpeg.ffprobe.class%" factory-method="create"

```

**Example(Symfony3 version):**

```
services:
    newsletter_manager:
        class:   NewsletterManager
        factory: [NewsletterManagerFactory, createNewsletterManager]

```

**Question:**

How do I update the services.xml for it to work correctly with Symfony3?

**What I have tried:**

I have tried combining the two without much success and using `factory` instead. But apparantly "factory" is not allowed either.

**Errors:**

```
$ php bin/console server:run 

```

The error I am getting : 

> 
> The attribute 'factory-class' is not allowed.
> 
> 
> 

[![error](https://i.stack.imgur.com/OzbFO.png)](https://i.stack.imgur.com/OzbFO.png)