예제 #1
0
파일: Builder.php 프로젝트: bensb/phpbrew
 public function __construct($targetDir, $version)
 {
     $this->targetDir = $targetDir;
     $this->root = Config::getPhpbrewRoot();
     $this->buildDir = Config::getBuildDir();
     $this->version = $version;
     chdir($targetDir);
 }
예제 #2
0
 public function getPath()
 {
     return Config::getBuildDir() . '/' . Config::getCurrentPhpName() . '/ext/' . $this->getName();
 }