/** * Seeds the random number generator. * * @param int $seed The value with which the generator is to be seeded. * * @return void */ public static function seedRandom($seed) { assert('is_int($seed)', vs(isset($this), get_defined_vars())); CMathf::seedRandom($seed); }