public function __construct(array $params) { $this->hashids = new Hashids($params['salt'], $params['length'], $params['alphabet']); }