function PerforceDriver::initialize
@inheritDoc
Overrides VcsDriverInterface::initialize
File
-
vendor/
composer/ composer/ src/ Composer/ Repository/ Vcs/ PerforceDriver.php, line 38
Class
- PerforceDriver
- @author Matt Whittom <Matt.Whittom@veteransunited.com>
Namespace
Composer\Repository\VcsCode
public function initialize() : void {
$this->depot = $this->repoConfig['depot'];
$this->branch = '';
if (!empty($this->repoConfig['branch'])) {
$this->branch = $this->repoConfig['branch'];
}
$this->initPerforce($this->repoConfig);
$this->perforce
->p4Login();
$this->perforce
->checkStream();
$this->perforce
->writeP4ClientSpec();
$this->perforce
->connectClient();
}