Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Pantheon
Terminus
Commands
Owner
SetCommand
PHP Class Pantheon\Terminus\Commands\Owner\SetCommand
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
setOwner
(
string
$site_name
,
string
$owner
)
Change the owner of a site
Method Details
setOwner()
public
method
Change the owner of a site
public
setOwner
(
string
$site_name
,
string
$owner
)
$site_name
string
The name or UUID of a site to assign a new owner to
$owner
string
The UUID, email, or full name of the user to set as the site's new owner