PHP 인터페이스 MarvinLabs\SetupWizard\Contracts\WizardStep

Implement that interface to describe your wizard steps
상속: extends Illuminate\Contracts\Support\MessageProvider
파일 보기 프로젝트 열기: marvinlabs/laravel-setup-wizard

공개 메소드들

메소드 설명
__construct ( $id )
apply ( array $formData ) : boolean
getFormData ( ) : array
getId ( ) : string
getSlug ( ) : string
undo ( ) : boolean

메소드 상세

__construct() 공개 메소드

public __construct ( $id )

apply() 공개 메소드

public apply ( array $formData ) : boolean
$formData array An array containing all the form data for that step
리턴 boolean true if the step has been applied successfully

getFormData() 공개 메소드

public getFormData ( ) : array
리턴 array The initial form data to be used to populate the step fields

getId() 공개 메소드

public getId ( ) : string
리턴 string The unique identifier for the step

getSlug() 공개 메소드

public getSlug ( ) : string
리턴 string The slug shown in the URL when viewing that wizard step

undo() 공개 메소드

public undo ( ) : boolean
리턴 boolean true if the step has been undone successfully