Exemplo n.º 1
0
 public function __construct($targetDir, $version)
 {
     $this->targetDir = $targetDir;
     $this->root = Config::getPhpbrewRoot();
     $this->buildDir = Config::getBuildDir();
     $this->version = $version;
     chdir($targetDir);
 }
Exemplo n.º 2
0
 public function getPath()
 {
     return Config::getBuildDir() . '/' . Config::getCurrentPhpName() . '/ext/' . $this->getName();
 }