public function setRand($rand) { $this->registry()->register(self::REGISTRY_RAND, $rand, true); return $this; }