public function __construct(Closure $hash, Closure $check) { $this->hash = $hash; $this->check = $check; }