public __construct ( string $projectName, string $testingFramework, string $license, string $namespace, boolean $gitInit, boolean $phpcsConfiguration, string $composerKeywords, boolean $vagrantfile, boolean $editorConfig, boolean $phpVersion, boolean $environmentFiles, boolean $lgtmConfiguration, boolean $githubTemplates = false, boolean $codeOfConduct = false, boolean $githubDocs = false ) : void | ||
$projectName | string | The entered project name. |
$testingFramework | string | The entered testing framework. |
$license | string | The entered project license. |
$namespace | string | The entered namespace. |
$gitInit | boolean | Initialize a git repo? |
$phpcsConfiguration | boolean | Generate a PHP Coding Standards Fixer configuration? |
$composerKeywords | string | The entered list of Composer keywords. |
$vagrantfile | boolean | Generate a Vagrantfile? |
$editorConfig | boolean | Generate an EditorConfig file? |
$phpVersion | boolean | The entered php version |
$environmentFiles | boolean | Generate .env environment files? |
$lgtmConfiguration | boolean | Generate LGTM configuration files? |
$githubTemplates | boolean | Generate GitHub templates? |
$codeOfConduct | boolean | Generate Code of Conduct file? |
$githubDocs | boolean | Generate GitHub docs? |
return | void |
public function __construct($projectName, $testingFramework, $license, $namespace, $gitInit, $phpcsConfiguration, $composerKeywords, $vagrantfile, $editorConfig, $phpVersion, $environmentFiles, $lgtmConfiguration, $githubTemplates = false, $codeOfConduct = false, $githubDocs = false)
{
$this->projectName = $projectName;
$this->testingFramework = $testingFramework;
$this->license = $license;
$this->namespace = $namespace;
$this->gitInit = $gitInit;
$this->phpcsConfiguration = $phpcsConfiguration;
$this->composerKeywords = $composerKeywords;
$this->vagrantfile = $vagrantfile;
$this->editorConfig = $editorConfig;
$this->phpVersion = $phpVersion;
$this->environmentFiles = $environmentFiles;
$this->lgtmConfiguration = $lgtmConfiguration;
$this->githubTemplates = $githubTemplates;
$this->codeOfConduct = $codeOfConduct;
$this->githubDocs = $githubDocs;
}