示例#1
0
 public function testStaticCall()
 {
     $this->assertNotSame($this->guid->get(), Guid::make());
 }
示例#2
0
 public static function make(\Closure $function = null, $length = 12, $prepend_len = 4, $prepend = true, $parts = 2, $separator = '-', $case = 'upper')
 {
     $guid = new Guid($length, $parts, $separator);
     return $guid->get($function, $prepend, $prepend_len, $case);
 }