original_string: protected function initSeedFromSet(FixtureSet $set)
      {
          if (is_numeric($set->getSeed())) {
              mt_srand($set->getSeed());
              $this->logDebug('Initialized with seed ' . $set->getSeed());
          } else {
              mt_srand();
              $this->logDebug('Initialized with random seed');
          }
      }
code: protected function initSeedFromSet(FixtureSet $set)
      {
          if (is_numeric($set->getSeed())) {
              mt_srand($set->getSeed());
              $this->logDebug('Initialized with seed ' . $set->getSeed());
          } else {
              mt_srand();
              $this->logDebug('Initialized with random seed');
          }
      }
code_tokens: protected function initSeedFromSet ( FixtureSet $ set ) { if ( is_numeric ( $ set -> getSeed ( ) ) ) { mt_srand ( $ set -> getSeed ( ) ) ; $ this -> logDebug ( 'Initialized with seed ' . $ set -> getSeed ( ) ) ; } else { mt_srand ( ) ; $ this -> logDebug ( 'Initialized with random seed' ) ; } }
docstring: Initializes the seed for random numbers, given by a fixture set.
docstring_tokens: Initializes the seed for random numbers given by a fixture set .