original_string: protected function getVariables(
          $vendor,
          $package,
          $vendorFolderName,
          $packageFolderName
      ) {
          $packageWords = str_replace('-', ' ', Str::snake($packageFolderName));
  
          $composerDescription = $this->askUser(
              'The composer description?', "A $packageWords"
          );
          $composerKeywords = $this->getComposerKeywords($packageWords);
  
          $packageHumanName = $this->askUser(
              'The package human name?', Str::title($packageWords)
          );
  
          return [
              'vendor' => $vendor,
              'package' => $package,
              'vendorFolderName' => $vendorFolderName,
              'packageFolderName' => $packageFolderName,
              'packageHumanName' => $packageHumanName,
  
              'composerName' => "$vendorFolderName/$packageFolderName",
              'composerDesc' => $composerDescription,
              'composerKeywords' => $composerKeywords,
              'license' => $this->askUser('The package licence?', 'MIT'),
              'phpVersion' => $this->askUser('Php version constraint?', '>=7.0'),
  
              'aliasName' => $packageFolderName,
              'configFileName' => $packageFolderName,
  
              'year' => date('Y'),
  
              'name' => $this->askUser('Your name?'),
              'email' => $this->askUser('Your email?'),
              'githubPackageUrl' => "https://github.com/$vendorFolderName/$packageFolderName",
          ];
      }
code: protected function getVariables(
          $vendor,
          $package,
          $vendorFolderName,
          $packageFolderName
      ) {
          $packageWords = str_replace('-', ' ', Str::snake($packageFolderName));
  
          $composerDescription = $this->askUser(
              'The composer description?', "A $packageWords"
          );
          $composerKeywords = $this->getComposerKeywords($packageWords);
  
          $packageHumanName = $this->askUser(
              'The package human name?', Str::title($packageWords)
          );
  
          return [
              'vendor' => $vendor,
              'package' => $package,
              'vendorFolderName' => $vendorFolderName,
              'packageFolderName' => $packageFolderName,
              'packageHumanName' => $packageHumanName,
  
              'composerName' => "$vendorFolderName/$packageFolderName",
              'composerDesc' => $composerDescription,
              'composerKeywords' => $composerKeywords,
              'license' => $this->askUser('The package licence?', 'MIT'),
              'phpVersion' => $this->askUser('Php version constraint?', '>=7.0'),
  
              'aliasName' => $packageFolderName,
              'configFileName' => $packageFolderName,
  
              'year' => date('Y'),
  
              'name' => $this->askUser('Your name?'),
              'email' => $this->askUser('Your email?'),
              'githubPackageUrl' => "https://github.com/$vendorFolderName/$packageFolderName",
          ];
      }
code_tokens: protected function getVariables ( $ vendor , $ package , $ vendorFolderName , $ packageFolderName ) { $ packageWords = str_replace ( '-' , ' ' , Str :: snake ( $ packageFolderName ) ) ; $ composerDescription = $ this -> askUser ( 'The composer description?' , "A $packageWords" ) ; $ composerKeywords = $ this -> getComposerKeywords ( $ packageWords ) ; $ packageHumanName = $ this -> askUser ( 'The package human name?' , Str :: title ( $ packageWords ) ) ; return [ 'vendor' => $ vendor , 'package' => $ package , 'vendorFolderName' => $ vendorFolderName , 'packageFolderName' => $ packageFolderName , 'packageHumanName' => $ packageHumanName , 'composerName' => "$vendorFolderName/$packageFolderName" , 'composerDesc' => $ composerDescription , 'composerKeywords' => $ composerKeywords , 'license' => $ this -> askUser ( 'The package licence?' , 'MIT' ) , 'phpVersion' => $ this -> askUser ( 'Php version constraint?' , '>=7.0' ) , 'aliasName' => $ packageFolderName , 'configFileName' => $ packageFolderName , 'year' => date ( 'Y' ) , 'name' => $ this -> askUser ( 'Your name?' ) , 'email' => $ this -> askUser ( 'Your email?' ) , 'githubPackageUrl' => "https://github.com/$vendorFolderName/$packageFolderName" , ] ; }
docstring: Get variables for substitution in templates.
  
  @param string $vendor
  @param string $package
  @param string $vendorFolderName
  @param string $packageFolderName
  
  @return array
docstring_tokens: Get variables for substitution in templates .