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