public function seed($seed = null)
    {  
        if($seed === null) {
            $seed = 0;
        }
        
        return $this->seed = abs(intval($seed)) % 9999999 + 1;  
    }
public function seed($seed = null)
    {  
        if($seed === null) {
            $seed = 0;
        }
        
        return $this->seed = abs(intval($seed)) % 9999999 + 1;  
    }
public function seed ( $ seed = null ) { if ( $ seed === null ) { $ seed = 0 ; } return $ this -> seed = abs ( intval ( $ seed ) ) % 9999999 + 1 ; }
Set the seed to use for generator

@param integer $seed the seed to use
@access public
Set the seed to use for generator