FakerService

This service class contains functions related to faking test data for the shop builder.
All public functions are available in the Twig template renderer.

Namespace

IO\Services

Methods
public getBasket():array

Get a faked basket for shopbuilder basket templates

public getFacets():array

Get a faked facet result for shopbuilder category templates

public getSelectedFacetIds($facets):array

Get a faked selected facets array for shopbuilder category templates

Parameters

Type

Name

Description

array

$facets

Available facets