PHP 클래스 Pantheon\Terminus\Models\Lock

상속: extends TerminusModel
파일 보기 프로젝트 열기: pantheon-systems/terminus

공개 프로퍼티들

프로퍼티 타입 설명
$environment Environment

공개 메소드들

메소드 설명
__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 ( )

메소드 상세

__construct() 공개 메소드

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

add() 공개 메소드

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

isLocked() 공개 메소드

Returns whether the associated environment is locked
public isLocked ( ) : boolean
리턴 boolean

remove() 공개 메소드

Disable HTTP Basic Access authentication on the web environment
public remove ( ) : Workflow
리턴 Workflow

serialize() 공개 메소드

public serialize ( )

프로퍼티 상세

$environment 공개적으로 프로퍼티

public Environment,Pantheon\Terminus\Models $environment
리턴 Environment