function Api::setMixins
Included interfaces. See [Mixin][].
Generated from protobuf field <code>repeated .google.protobuf.Mixin mixins = 6;</code>
Parameters
array<\Google\Protobuf\Mixin>|\Google\Protobuf\Internal\RepeatedField $var:
Return value
$this
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Api.php, line 325
Class
- Api
- Api is a light-weight descriptor for an API Interface. Interfaces are also described as "protocol buffer services" in some contexts, such as by the "service" keyword in a .proto file, but they are different from API Services, which…
Namespace
Google\ProtobufCode
public function setMixins($var) {
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Mixin::class);
$this->mixins = $arr;
return $this;
}