Add ability to create create the dependency by a dependency inejction container
https://gitlab.com/dario.rieke/callableresolver/-/blob/master/src/CallableResolver.php#L68
right now there is no way to use constructor arguments.
By adding an optional dependency injection container argument to the callable resolver it would be able to fetch the class directly from the container instead of instantiating with new $class()
.