class JanrainDataContainer in Janrain Registration 8
The container for the data.
Hierarchy
- class \Drupal\janrain_capture\User\JanrainDataContainer
Expanded class hierarchy of JanrainDataContainer
File
- src/
User/ JanrainDataContainer.php, line 8
Namespace
Drupal\janrain_capture\UserView source
class JanrainDataContainer {
/**
* The profile's data.
*
* @var \stdClass
*/
protected $data;
/**
* {@inheritdoc}
*/
public function __construct(\stdClass $data) {
$this->data = $data;
}
/**
* {@inheritdoc}
*/
public function __isset($name) : bool {
return property_exists($this->data, $name);
}
/**
* {@inheritdoc}
*/
public function __get($name) {
return $this->data->{$name};
}
/**
* {@inheritdoc}
*/
public function __unset($name) : void {
unset($this->data->{$name});
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
JanrainDataContainer:: |
protected | property | The profile's data. | |
JanrainDataContainer:: |
public | function | 1 | |
JanrainDataContainer:: |
public | function | ||
JanrainDataContainer:: |
public | function | ||
JanrainDataContainer:: |
public | function |