Pantheon\Terminus\Commands\Lock\RemoveCommand::remove PHP Method

remove() public method

Remove the lock from an environment
public remove ( string $site_env )
$site_env string The site/environment to unlock
    public function remove($site_env)
    {
        list($site, $env) = $this->getSiteEnv($site_env);
        $workflow = $env->getLock()->remove();
        while (!$workflow->checkProgress()) {
            // @TODO: Remove Symfony progress bar to indicate that something is happening.
        }
        $this->log()->notice('{site}.{env} has been unlocked.', ['site' => $site->get('name'), 'env' => $env->id]);
    }
RemoveCommand