original_string: public static function generateSecretKey()
      {
          // make parameters file if not exists
          touch(self::getRootDir().'/config/parameters.yml');
  
          /* @var $manipulator Parameters */
          $manipulator = self::getContainer()->getManipulator('parameters');
          if (!$manipulator->get('secret')) {
              $manipulator->set('secret', SecretKey::generate());
          }
      }
code: public static function generateSecretKey()
      {
          // make parameters file if not exists
          touch(self::getRootDir().'/config/parameters.yml');
  
          /* @var $manipulator Parameters */
          $manipulator = self::getContainer()->getManipulator('parameters');
          if (!$manipulator->get('secret')) {
              $manipulator->set('secret', SecretKey::generate());
          }
      }
code_tokens: public static function generateSecretKey ( ) { // make parameters file if not exists touch ( self :: getRootDir ( ) . '/config/parameters.yml' ) ; /* @var $manipulator Parameters */ $ manipulator = self :: getContainer ( ) -> getManipulator ( 'parameters' ) ; if ( ! $ manipulator -> get ( 'secret' ) ) { $ manipulator -> set ( 'secret' , SecretKey :: generate ( ) ) ; } }
docstring: Make a unique secret key.
docstring_tokens: Make a unique secret key .