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
Env
ViewCommand
PHP Class Pantheon\Terminus\Commands\Env\ViewCommand
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
view
(
string
$site_env
,
$options
= ['print' => false] ) :
string
Print the URL for an environment or open it in a browser
Method Details
view()
public
method
Print the URL for an environment or open it in a browser
public
view
(
string
$site_env
,
$options
= ['print' => false] ) :
string
$site_env
string
The site and environment to view in the form:
.
return
string