protected function checkProjectName()
{
if (is_dir($this->projectDir) && !$this->isEmptyDirectory($this->projectDir)) {
throw new \RuntimeException(sprintf("There is already a '%s' project in this directory (%s).\n" . 'Change your project name or create it in another directory.', $this->projectName, $this->projectDir));
}
return $this;
}