You are here

public function JanrainUserProfile::getBirthDate in Janrain Registration 8

File

src/User/JanrainUserProfile.php, line 38

Class

JanrainUserProfile
The user profile on Janrain.

Namespace

Drupal\janrain_capture\User

Code

public function getBirthDate() : ?\DateTime {
  return isset($this->data->birthday) ? new \DateTime($this->data->birthday) : NULL;
}