PHP Интерфейс MarvinLabs\SetupWizard\Contracts\WizardStep

Implement that interface to describe your wizard steps
Наследование: extends Illuminate\Contracts\Support\MessageProvider
Показать файл Открыть проект

Открытые методы

Метод Описание
__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