public function TeamApp::__construct in Apigee Edge 8
TeamApp 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 App::__construct
File
- modules/
apigee_edge_teams/ src/ Entity/ TeamApp.php, line 105
Class
- TeamApp
- Defines the Team (company) app entity class.
Namespace
Drupal\apigee_edge_teams\EntityCode
public function __construct(array $values, ?string $entity_type = NULL, ?EdgeEntityInterface $decorated = NULL) {
/** @var \Apigee\Edge\Api\Management\Entity\CompanyAppInterface $decorated */
$entity_type = $entity_type ?? 'team_app';
parent::__construct($values, $entity_type, $decorated);
}