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