You are here

public function UserToDeveloperConversionResult::__construct in Apigee Edge 8

UserToDeveloperResult constructor.

Parameters

\Drupal\apigee_edge\Entity\DeveloperInterface $developer: The result of the conversion.

int $successfully_appliedchanges: Number of successfully applied _necessary_ changes. (It should not contains redundant changes, ex.: when the property value has not changed.)

\Drupal\apigee_edge\Exception\UserDeveloperConversionException[] $problems: Problems occurred meanwhile the conversion (ex.: field validation errors, etc.)

Overrides UserDeveloperConversionResult::__construct

File

src/Structure/UserToDeveloperConversionResult.php, line 50

Class

UserToDeveloperConversionResult
Contains the result of a Drupal user to developer conversion.

Namespace

Drupal\apigee_edge\Structure

Code

public function __construct(DeveloperInterface $developer, int $successfully_appliedchanges, array $problems = []) {
  $this->developer = $developer;
  parent::__construct($successfully_appliedchanges, $problems);
}