Exemple #1
0
 /**
  * Constructor.
  *
  * @param mixed $email An array of users or email string
  * @param array $credentials A map of usernames with
  */
 public function __construct($email = null, array $credentials = array())
 {
     if (is_array($email)) {
         $this->constructOAuth($email, $credentials);
     } else {
         parent::__construct($email);
     }
 }
 public function __construct($email)
 {
     parent::__construct($email);
 }