function Svn::getPassword
Get the password for the svn command. Can be empty.
Throws
\LogicException
1 call to Svn::getPassword()
- Svn::getCredentialArgs in vendor/
composer/ composer/ src/ Composer/ Util/ Svn.php - Return the credential string for the svn command.
File
-
vendor/
composer/ composer/ src/ Composer/ Util/ Svn.php, line 261
Class
- Svn
- @author Till Klampaeckel <till@php.net> @author Jordi Boggiano <j.boggiano@seld.be>
Namespace
Composer\UtilCode
protected function getPassword() : string {
if ($this->credentials === null) {
throw new \LogicException("No svn auth detected.");
}
return $this->credentials['password'];
}