PHP Class Pantheon\Terminus\Commands\Lock\AddCommand

Inheritance: extends Pantheon\Terminus\Commands\TerminusCommand, implements Pantheon\Terminus\Site\SiteAwareInterface, use trait Pantheon\Terminus\Site\SiteAwareTrait
Datei anzeigen Open project: pantheon-systems/terminus

Public Methods

Method Description
add ( string $site_env, string $username, string $password ) Lock an environment with a username and password Note: The username and password are stored in plaintext format on the server.

Method Details

add() public method

Lock an environment with a username and password Note: The username and password are stored in plaintext format on the server.
public add ( string $site_env, string $username, string $password )
$site_env string The site/environment to lock
$username string Username for the environment lock
$password string Password for the environment lock