PHP Class MarvinLabs\SetupWizard\Steps\BaseStep

Inheritance: implements MarvinLabs\SetupWizard\Contracts\WizardStep
Show file Open project: marvinlabs/laravel-setup-wizard Class Usage Examples

Protected Properties

Property Type Description
$errors The errors that got detected when applying/undoing the step
$id The unique identifier for the step

Public Methods

Method Description
__construct ( string $id ) BaseStep constructor.
getFormData ( )
getId ( )
getMessageBag ( )
getSlug ( )

Protected Methods

Method Description
addError ( $key, $message )
mergeErrors ( $messages )

Method Details

__construct() public method

BaseStep constructor.
public __construct ( string $id )
$id string The unique identifier for the step

addError() protected method

protected addError ( $key, $message )

getFormData() public method

public getFormData ( )

getId() public method

public getId ( )

getMessageBag() public method

public getMessageBag ( )

getSlug() public method

public getSlug ( )

mergeErrors() protected method

protected mergeErrors ( $messages )

Property Details

$errors protected property

The errors that got detected when applying/undoing the step
protected $errors

$id protected property

The unique identifier for the step
protected $id