src/Container.php
public function make($instance, $parameters = [])
    {
        return $this->resolve($instance, is_array($parameters) ? $parameters
            : array_slice(func_get_args(), 1));
    }
public function make($instance, $parameters = [])
    {
        return $this->resolve($instance, is_array($parameters) ? $parameters
            : array_slice(func_get_args(), 1));
    }
Resolving all dependencies in the supplied class or object instance constructor.

@param string $instance The class name.
@param array $parameters List of needed class dependency.
@return object