Calling functions and resolving their parameters using the container

[![Coverage Status](https://coveralls.io/repos/mnapoli/PHP-DI/badge.png?branch=feature%2FCallFunction)](https://coveralls.io/r/mnapoli/PHP-DI?branch=feature%2FCallFunction)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/mnapoli/PHP-DI/badges/quality-score.png?b=feature%2FCallFunction)](https://scrutinizer-ci.com/g/mnapoli/PHP-DI/?branch=feature%2FCallFunction)

```php
$container->call(function (Logger $logger, EntityManager $em) {
    // do stuff
});
```

```php
interface InvokerInterface
{
    public function call($callable, array $parameters = array());
}
```

Using defined parameters:

```php
$parameters = [
    'data' => /* some variable */
];

$container->call(function (Logger $logger, $data) {
    // ...
}, $parameters);
```