You are here

public function UserDeveloperConversionResult::__construct in Apigee Edge 8

UserDeveloperConversionResult constructor.

Parameters

int $successfully_applied_changes: 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.)

2 calls to UserDeveloperConversionResult::__construct()
DeveloperToUserConversionResult::__construct in src/Structure/DeveloperToUserConversionResult.php
DeveloperToUserConversionResult constructor.
UserToDeveloperConversionResult::__construct in src/Structure/UserToDeveloperConversionResult.php
UserToDeveloperResult constructor.
2 methods override UserDeveloperConversionResult::__construct()
DeveloperToUserConversionResult::__construct in src/Structure/DeveloperToUserConversionResult.php
DeveloperToUserConversionResult constructor.
UserToDeveloperConversionResult::__construct in src/Structure/UserToDeveloperConversionResult.php
UserToDeveloperResult constructor.

File

src/Structure/UserDeveloperConversionResult.php, line 55

Class

UserDeveloperConversionResult
Base class for user-developer conversion results.

Namespace

Drupal\apigee_edge\Structure

Code

public function __construct(int $successfully_applied_changes, array $problems = []) {
  $this->successfullyAppliedChanges = $successfully_applied_changes;
  $this->problems = $problems;
}