예제 #1
0
파일: LibyUser.php 프로젝트: fire1/liby
 /**
  * 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);
     }
 }
예제 #2
0
 public function __construct($email)
 {
     parent::__construct($email);
 }