示例#1
0
 public function __construct($key = null)
 {
     $this->uid = (string) Uid::instance($key);
 }
示例#2
0
 /**
  * @param string $key
  * @return string
  */
 public static function uid($key = null)
 {
     return (string) Uid::instance($key);
 }