final class UserToDeveloperConversionResult in Apigee Edge 8
Contains the result of a Drupal user to developer conversion.
Hierarchy
- class \Drupal\apigee_edge\Structure\UserDeveloperConversionResult
- class \Drupal\apigee_edge\Structure\UserToDeveloperConversionResult
Expanded class hierarchy of UserToDeveloperConversionResult
4 files declare their use of UserToDeveloperConversionResult
- DeveloperCreateUpdate.php in src/
Job/ DeveloperCreateUpdate.php - UserDeveloperConverter.php in src/
UserDeveloperConverter.php - UserDeveloperConverter.php in tests/
modules/ apigee_edge_test/ src/ UserDeveloperConverter.php - UserDeveloperConverterInterface.php in src/
UserDeveloperConverterInterface.php
File
- src/
Structure/ UserToDeveloperConversionResult.php, line 28
Namespace
Drupal\apigee_edge\StructureView source
final class UserToDeveloperConversionResult extends UserDeveloperConversionResult {
/**
* The result of the conversion.
*
* @var \Drupal\apigee_edge\Entity\DeveloperInterface
*/
private $developer;
/**
* UserToDeveloperResult constructor.
*
* @param \Drupal\apigee_edge\Entity\DeveloperInterface $developer
* The result of the conversion.
* @param int $successfully_appliedchanges
* Number of successfully applied _necessary_ changes.
* (It should not contains redundant changes, ex.: when the property value
* has not changed.)
* @param \Drupal\apigee_edge\Exception\UserDeveloperConversionException[] $problems
* Problems occurred meanwhile the conversion (ex.: field validation errors,
* etc.)
*/
public function __construct(DeveloperInterface $developer, int $successfully_appliedchanges, array $problems = []) {
$this->developer = $developer;
parent::__construct($successfully_appliedchanges, $problems);
}
/**
* The created developer from a user.
*
* @return \Drupal\apigee_edge\Entity\DeveloperInterface
* Developer object.
*/
public function getDeveloper() : DeveloperInterface {
return $this->developer;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
UserDeveloperConversionResult:: |
protected | property | Problems occurred meanwhile the conversion. | |
UserDeveloperConversionResult:: |
protected | property | Number of successfully applied _necessary_ changes. | |
UserDeveloperConversionResult:: |
public | function | Problems occurred meanwhile the conversion. | |
UserDeveloperConversionResult:: |
public | function | Number of _necessary_ changes that were successfully applied. | |
UserToDeveloperConversionResult:: |
private | property | The result of the conversion. | |
UserToDeveloperConversionResult:: |
public | function | The created developer from a user. | |
UserToDeveloperConversionResult:: |
public | function |
UserToDeveloperResult constructor. Overrides UserDeveloperConversionResult:: |