public function __construct(Operation $operation, $name) { parent::__construct($operation->getDefinition()); $this->name = $name; $this->operation = $operation; }
public function __construct(PortType $port, $name) { parent::__construct($port->getDefinition()); $this->name = $name; $this->port = $port; }
public function __construct(Binding $binding, $name) { parent::__construct($binding->getDefinition()); $this->name = $name; $this->binding = $binding; }
public function __construct(Service $service, $name) { parent::__construct($service->getDefinition()); $this->name = $name; $this->service = $service; }