public function ApiProduct::__construct in Apigee Edge 8
ApiProduct constructor.
Parameters
array $values: An array of values to set, keyed by property name.
null|string $entity_type: Type of the entity. It is optional because constructor sets its default value.
\Apigee\Edge\Entity\EntityInterface|null $decorated: The SDK entity that this Drupal entity decorates.
Overrides EdgeEntityBase::__construct
File
- src/
Entity/ ApiProduct.php, line 66
Class
- ApiProduct
- Defines the API product entity class.
Namespace
Drupal\apigee_edge\EntityCode
public function __construct(array $values, ?string $entity_type = NULL, ?EdgeEntityInterface $decorated = NULL) {
$entity_type = $entity_type ?? 'api_product';
parent::__construct($values, $entity_type, $decorated);
}