name; } /** * @param RPC $RPC * @param Config $config * @param array $metadata * @param string $name */ public function __construct(RPC $RPC, Config $config, array $metadata, string $name) { $this->name = $name; $this->RPC = $RPC; $this->config = $config; $this->metadata = $metadata; } public function getRPC(): RPC { return $this->RPC; } public function getConfig(): Config { return $this->config; } public function getMetadata(): array { return $this->metadata; } }