Property | Type | Description | |
---|---|---|---|
$categoriesFlat | The array with the categories that are going to be created |
Property | Type | Description | |
---|---|---|---|
$categoriesSum | The number of categories which have been created Used in order to not create too many categories | ||
$tables | array | ||
$total |
Method | Description | |
---|---|---|
create ( Shopware\DataGenerator\Writer\WriterInterface $writer ) | ||
getUniqueId ( $type ) |
Method | Description | |
---|---|---|
buildNestedTree ( integer $number, integer | null $parentCategory = null, integer $depth, array | null $leftNeighbour = null ) : array | ||
buildPath ( $id ) : array | Builds path for the given category |
public create ( Shopware\DataGenerator\Writer\WriterInterface $writer ) | ||
$writer | Shopware\DataGenerator\Writer\WriterInterface |
public $categoriesFlat |
protected $categoriesSum |