PHP 클래스 MarvinLabs\SetupWizard\Wizard\DefaultSetupWizard

상속: implements MarvinLabs\SetupWizard\Contracts\SetupWizard
파일 보기 프로젝트 열기: marvinlabs/laravel-setup-wizard

보호된 프로퍼티들

프로퍼티 타입 설명
$app The Laravel application instance.
$currentStep The step currently displayed to the user
$currentStepIndex The index of the current step
$steps The steps of the wizard

공개 메소드들

메소드 설명
__construct ( Illuminate\Contracts\Foundation\Application $app = null )
currentStep ( )
firstStep ( )
initialize ( $currentStepSlug )
isCurrent ( $stepId )
isFirst ( $stepId = null )
isLast ( $stepId = null )
nextStep ( )
previousStep ( )
progress ( )
stepIndex ( $stepId )
steps ( )

보호된 메소드들

메소드 설명
createStepsFromConfig ( ) : array Get configuration and create the step objects
findStepByIndex ( $index )
findStepBySlug ( $slug = '' )

메소드 상세

__construct() 공개 메소드

public __construct ( Illuminate\Contracts\Foundation\Application $app = null )
$app Illuminate\Contracts\Foundation\Application

createStepsFromConfig() 보호된 메소드

Get configuration and create the step objects
protected createStepsFromConfig ( ) : array
리턴 array The step objects, indexed by ID

currentStep() 공개 메소드

public currentStep ( )

findStepByIndex() 보호된 메소드

protected findStepByIndex ( $index )

findStepBySlug() 보호된 메소드

protected findStepBySlug ( $slug = '' )

firstStep() 공개 메소드

public firstStep ( )

initialize() 공개 메소드

public initialize ( $currentStepSlug )

isCurrent() 공개 메소드

public isCurrent ( $stepId )

isFirst() 공개 메소드

public isFirst ( $stepId = null )

isLast() 공개 메소드

public isLast ( $stepId = null )

nextStep() 공개 메소드

public nextStep ( )

previousStep() 공개 메소드

public previousStep ( )

progress() 공개 메소드

public progress ( )

stepIndex() 공개 메소드

public stepIndex ( $stepId )

steps() 공개 메소드

public steps ( )

프로퍼티 상세

$app 보호되어 있는 프로퍼티

The Laravel application instance.
protected $app

$currentStep 보호되어 있는 프로퍼티

The step currently displayed to the user
protected $currentStep

$currentStepIndex 보호되어 있는 프로퍼티

The index of the current step
protected $currentStepIndex

$steps 보호되어 있는 프로퍼티

The steps of the wizard
protected $steps