/** * Sets the PHP Webapp to configure. * * @param string $projectname a PHP Webapp name * @param string $version a semver-like version */ public function setProject($projectname, $version) { $factory = new Factory(); $this->project = $factory->createWebProject($projectname, $this->versionParser->normalize($version)); return $this; }