Example #1
0
 public function __construct($projectName, $destinationDirectory)
 {
     parent::__construct();
     $this->setProjectName($projectName)->setDestinationDirectory($destinationDirectory)->setUrlPrompt()->setUrlColorizer()->setTemplatesDirectory()->setTemplateParser()->setRootUrl('/');
 }
 public function __construct($projectName, $destinationDirectory)
 {
     parent::__construct();
     $this->setProjectName($projectName)->setDestinationDirectory($destinationDirectory)->setAdapter()->setUrlPrompt()->setUrlColorizer()->setTreemapUrl('/')->setResourcesDirectory();
 }
Example #3
0
 /**
  * Custom constructor.
  *
  * @param $projectName
  * @param $destinationDirectory
  * @param $sourceDirectory
  */
 public function __construct($projectName, $destinationDirectory, $sourceDirectory)
 {
     parent::__construct();
     $this->sourceDirectory = new Path($sourceDirectory);
     $this->setProjectName($projectName)->setDestinationDirectory($destinationDirectory)->setUrlColorizer()->setTemplatesDirectory(__DIR__ . '/../../../resources/coverage')->setTemplateParser()->setRootUrl('/');
 }