OpenSwoole\GRPC\ServiceContainer->construct

25.x is outdated, please check the latest version 26.x


Latest version: pecl install openswoole-26.2.0

Declaration

<?php OpenSwoole\GRPC\ServiceContainer->construct()

Parameters

interface

The interface of the GPRC service.

service

Instance of the GRPC service.

Return

Description

Create a new GRPC ServiceContainer with constructor function.

Last updated on February 28, 2026