create() public static method

public static create ( integer $generatorType ) : IdGenerator
$generatorType integer
return IdGenerator
Beispiel #1
0
 private function getIdGenerator($type)
 {
     if (!isset($this->idGenerators[$type])) {
         $this->idGenerators[$type] = Id\IdGenerator::create($type);
     }
     return $this->idGenerators[$type];
 }