PHP Class Pantheon\Terminus\Models\Lock

Inheritance: extends TerminusModel
Afficher le fichier Open project: pantheon-systems/terminus

Méthodes publiques

Свойство Type Description
$environment Environment

Méthodes publiques

Méthode Description
__construct ( $attributes, $options = [] )
add ( array $params ) : Workflow Enable HTTP Basic Access authentication on the web environment
isLocked ( ) : boolean Returns whether the associated environment is locked
remove ( ) : Workflow Disable HTTP Basic Access authentication on the web environment
serialize ( )

Method Details

__construct() public méthode

public __construct ( $attributes, $options = [] )

add() public méthode

Enable HTTP Basic Access authentication on the web environment
public add ( array $params ) : Workflow
$params array Elements as follow: string username string password
Résultat Workflow

isLocked() public méthode

Returns whether the associated environment is locked
public isLocked ( ) : boolean
Résultat boolean

remove() public méthode

Disable HTTP Basic Access authentication on the web environment
public remove ( ) : Workflow
Résultat Workflow

serialize() public méthode

public serialize ( )

Property Details

$environment public_oe property

public Environment,Pantheon\Terminus\Models $environment
Résultat Environment