You should not pass the DI as a single parameter. It is supposed to be removed once some entities would not rely on it anymore.
You could change it like this : 

```php
public function __construct(Application $app, EntityManager $em, \appbox $appbox, ACLProvider $acl) {}
```