You are here

public function DeveloperToUserConversionResult::__construct in Apigee Edge 8

DeveloperToUserConversionResult constructor.

Parameters

\Drupal\user\UserInterface $user: 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/DeveloperToUserConversionResult.php, line 50

Class

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

Namespace

Drupal\apigee_edge\Structure

Code

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