class State

Properties

protected User $user

Methods

__construct(User $user)

Create a new state instance.

bool
hasBankAccounts()

Check if the user has bank accounts.

bool
hasCompany()

Check if the user has a company.

bool
hasContacts()

Check if the user has contacts.

bool
hasDeliveryOptions()

Check if the users delivery options are set.

bool
complete()

Check if the users registration progress is complete.

bool
isPending()

Check if the users state is pending.

bool
isVerified()

Check if the user is verified.

Details

at line 18
__construct(User $user)

Create a new state instance.

Parameters

User $user

at line 28
bool hasBankAccounts()

Check if the user has bank accounts.

Return Value

bool

at line 38
bool hasCompany()

Check if the user has a company.

Return Value

bool

at line 48
bool hasContacts()

Check if the user has contacts.

Return Value

bool

at line 58
bool hasDeliveryOptions()

Check if the users delivery options are set.

Return Value

bool

at line 72
bool complete()

Check if the users registration progress is complete.

Return Value

bool

at line 85
bool isPending()

Check if the users state is pending.

Return Value

bool

at line 99
bool isVerified()

Check if the user is verified.

Return Value

bool