PHP Class Pantheon\Terminus\Commands\Env\CloneContentCommand

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

Public Methods

Method Description
cloneContent ( string $site_env, string $target_env, array $options = ['db-only' => false, 'files-only' => false] ) Clone content from one environment to another

Method Details

cloneContent() public method

Clone content from one environment to another
public cloneContent ( string $site_env, string $target_env, array $options = ['db-only' => false, 'files-only' => false] )
$site_env string The origin site/environment to clone content from
$target_env string The target environment to clone content to
$options array