function Enum::__construct
Same name in this branch
- 11.1.x vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Enum.php \Doctrine\Common\Annotations\Annotation\Enum::__construct()
Constructor.
Parameters
array $data {: Optional. Data for populating the Message object.
@type string $name Enum type name. @type array<\Google\Protobuf\EnumValue>|\Google\Protobuf\Internal\RepeatedField $enumvalue Enum value definitions. @type array<\Google\Protobuf\Option>|\Google\Protobuf\Internal\RepeatedField $options Protocol buffer options. @type \Google\Protobuf\SourceContext $source_context The source context. @type int $syntax The source syntax. }
Overrides Message::__construct
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Enum.php, line 67
Class
- Enum
- Enum type definition.
Namespace
Google\ProtobufCode
public function __construct($data = NULL) {
\GPBMetadata\Google\Protobuf\Type::initOnce();
parent::__construct($data);
}