public function __construct(Key $key, $index, Method $method, array $dependencies) { parent::__construct($key); $this->index = $index; $this->method = $method; $this->dependencies = $dependencies; }
public function __construct(ProviderMethodBinding $delegate) { parent::__construct($delegate->getKey()); $this->delegate = $delegate; }