Neos\Kickstarter\Command\KickstartCommandController::validatePackageKey PHP Method

validatePackageKey() protected method

Checks the syntax of the given $packageKey and quits with an error message if it's not valid
protected validatePackageKey ( string $packageKey ) : void
$packageKey string
return void
    protected function validatePackageKey($packageKey)
    {
        if (!$this->packageManager->isPackageKeyValid($packageKey)) {
            $this->outputLine('Package key "%s" is not valid. Only UpperCamelCase with alphanumeric characters in the format <VendorName>.<PackageKey>, please!', array($packageKey));
            exit(1);
        }
    }