FunctionDecl
class FunctionDecl extends Message
A function declaration.
Generated from protobuf message google.api.expr.v1beta1.FunctionDecl
Methods
Constructor.
The function arguments.
Optional declared return type.
If the first argument of the function is the receiver.
If the first argument of the function is the receiver.
Details
at line 51
__construct(array $data = NULL)
Constructor.
at line 62
RepeatedField
getArgs()
The function arguments.
Generated from protobuf field repeated .google.api.expr.v1beta1.IdentDecl args = 1;
at line 74
$this
setArgs(IdentDecl[]|RepeatedField $var)
The function arguments.
Generated from protobuf field repeated .google.api.expr.v1beta1.IdentDecl args = 1;
at line 88
DeclType
getReturnType()
Optional declared return type.
Generated from protobuf field .google.api.expr.v1beta1.DeclType return_type = 2;
at line 100
$this
setReturnType(DeclType $var)
Optional declared return type.
Generated from protobuf field .google.api.expr.v1beta1.DeclType return_type = 2;
at line 114
bool
getReceiverFunction()
If the first argument of the function is the receiver.
Generated from protobuf field bool receiver_function = 3;
at line 126
$this
setReceiverFunction(bool $var)
If the first argument of the function is the receiver.
Generated from protobuf field bool receiver_function = 3;