PHP 클래스 Platformsh\Cli\Util\ActivityUtil

파일 보기 프로젝트 열기: commerceguys/platform-cli 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$stateNames

공개 메소드들

메소드 설명
formatState ( string $state ) : string Format a state name.
waitAndLog ( Platformsh\Client\Model\Activity $activity, Symfony\Component\Console\Output\OutputInterface $output, string $success = null, string $failure = null ) : boolean Wait for a single activity to complete, and display the log continuously.
waitMultiple ( array $activities, Symfony\Component\Console\Output\OutputInterface $output, Platformsh\Client\Model\Project $project ) : boolean Wait for multiple activities to complete.

메소드 상세

formatState() 공개 정적인 메소드

Format a state name.
public static formatState ( string $state ) : string
$state string
리턴 string

waitAndLog() 공개 정적인 메소드

Wait for a single activity to complete, and display the log continuously.
public static waitAndLog ( Platformsh\Client\Model\Activity $activity, Symfony\Component\Console\Output\OutputInterface $output, string $success = null, string $failure = null ) : boolean
$activity Platformsh\Client\Model\Activity
$output Symfony\Component\Console\Output\OutputInterface
$success string
$failure string
리턴 boolean True if the activity succeeded, false otherwise.

waitMultiple() 공개 정적인 메소드

A progress bar tracks the state of each activity. The activity log is only displayed at the end, if an activity failed.
public static waitMultiple ( array $activities, Symfony\Component\Console\Output\OutputInterface $output, Platformsh\Client\Model\Project $project ) : boolean
$activities array
$output Symfony\Component\Console\Output\OutputInterface
$project Platformsh\Client\Model\Project
리턴 boolean True if all activities succeed, false otherwise.

프로퍼티 상세

$stateNames 보호되어 있는 정적으로 프로퍼티

protected static $stateNames