# danog\MadelineProto\WebUI\Step: The steps of the setup flow, shown in the progress rail of the builtin pages.

[Back to index](../../../index.html)

> Author: Daniil Gentili <daniil@daniil.it>  
  

The steps of the setup flow, shown in the progress rail of the builtin pages.  




## Constants
* `danog\MadelineProto\WebUI\Step::APP`: Get the API ID and hash.

* `danog\MadelineProto\WebUI\Step::ACCOUNT`: Choose the account or bot.

* `danog\MadelineProto\WebUI\Step::VERIFY`: Verify the login with a code, a password or a signup.

* `danog\MadelineProto\WebUI\Step::DONE`: Logged in, running.

## Properties
* `$name`: `string` 
* `$value`: `string` 

## Method list:
* [`getLabel(): string`](#getLabel)
* [`cases(): array`](#cases)
* [`from(string|int $value): static`](#from)
* [`tryFrom(string|int $value): ?static`](#tryFrom)

## Methods:
### <a name="getLabel"></a> `getLabel(): string`

Get the localized label of the step.



### <a name="cases"></a> `cases(): array`





### <a name="from"></a> `from(string|int $value): static`




Parameters:

* `$value`: `string|int`   



### <a name="tryFrom"></a> `tryFrom(string|int $value): ?static`




Parameters:

* `$value`: `string|int`   



---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
