Mapper
The steps mapper.
Description #
Source #
Changelog #
Version | Description |
---|---|
4.6.0 | Introduced. |
Methods #
- __construct — Constructor.
- all — Maps all the steps.
- convert_models_into_steps — Maps an array of models into Steps.
- get_sub_steps — Gets sub steps for the given step.
- get_sub_steps_page_size — Returns the page size for sub steps.
- paginated — Maps the steps for the given page.
- set_sub_steps_page_size — Sets the page size for sub steps.
- to_step — Returns the step object for the given model.
- total — Returns the total number of direct steps.
- with_sub_steps — If called, the mapper will include sub steps in the steps.
- without_sub_steps — If called, the mapper will not include sub steps in the steps.