Shopware\PluginCreator\Command\CreatePluginCommand::validateName PHP Метод

validateName() защищенный Метод

Check the plugin name - it needs to constist of two parts at least - the first one is the dev prefix
protected validateName ( $name )
$name
    protected function validateName($name)
    {
        $parts = $this->upperToArray($name);
        if (count($parts) <= 1) {
            throw new \InvalidArgumentException('Name must be in CamelCase and have at least two components. Don\'t forget you developer-prefix');
        }
        return $name;
    }