File tree Expand file tree Collapse file tree 8 files changed +69
-4
lines changed
setup/src/Magento/Setup/Fixtures Expand file tree Collapse file tree 8 files changed +69
-4
lines changed Original file line number Diff line number Diff line change 8
8
9
9
/**
10
10
* Generate admin users
11
+ *
12
+ * Support the following format:
13
+ * <!-- Number of admin users -->
14
+ * <admin_users>{int}</admin_users>
11
15
*/
12
16
class AdminUsersFixture extends Fixture
13
17
{
Original file line number Diff line number Diff line change 8
8
9
9
/**
10
10
* Fixture for Attribute Sets and Attributes based on the configuration
11
+ *
12
+ * Support the following format:
13
+ * <!-- Number of product attribute sets -->
14
+ * <product_attribute_sets>{int}</product_attribute_sets>
15
+ *
16
+ * <!-- Number of attributes per set -->
17
+ * <product_attribute_sets_attributes>{int}</product_attribute_sets_attributes>
18
+ *
19
+ * <!-- Number of values per attribute -->
20
+ * <product_attribute_sets_attributes_values>{int}</product_attribute_sets_attributes_values>
21
+ *
22
+ * @see setup/performance-toolkit/profiles/ce/small.xml
11
23
*/
12
24
class AttributeSetsFixture extends Fixture
13
25
{
Original file line number Diff line number Diff line change 7
7
namespace Magento \Setup \Fixtures ;
8
8
9
9
/**
10
- * Class CartPriceRulesFixture
10
+ * Fixture for generating cart price rules
11
+ *
12
+ * Support the following format:
13
+ * <!-- Number of cart price rules -->
14
+ * <cart_price_rules>{int}</cart_price_rules>
15
+ *
16
+ * <!-- Number of conditions per rule -->
17
+ * <cart_price_rules_floor>{int}</cart_price_rules_floor>
18
+ *
19
+ * @see setup/performance-toolkit/profiles/ce/small.xml
11
20
*/
12
21
class CartPriceRulesFixture extends Fixture
13
22
{
Original file line number Diff line number Diff line change 7
7
namespace Magento \Setup \Fixtures ;
8
8
9
9
/**
10
- * Class CatalogPriceRulesFixture
10
+ * Fixture for generating catalog price rules
11
+ *
12
+ * Support the following format:
13
+ * <!-- Number of catalog price rules -->
14
+ * <catalog_price_rules>{int}</catalog_price_rules>
15
+ *
16
+ * @see setup/performance-toolkit/profiles/ce/small.xml
11
17
*/
12
18
class CatalogPriceRulesFixture extends Fixture
13
19
{
Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ public function __construct(
142
142
143
143
/**
144
144
* {@inheritdoc}
145
+ * @throws \Exception
145
146
*/
146
147
public function execute ()
147
148
{
Original file line number Diff line number Diff line change 13
13
* Fixture generator for Order entities with configurable number of different types of order items.
14
14
* Optionally generates inactive quotes for generated orders.
15
15
*
16
+ * Support the following format:
17
+ * <!-- Is is nescessary to enable quotes for orders -->
18
+ * <order_quotes_enable>{bool}</order_quotes_enable>
19
+ *
20
+ * <!-- Min number of simple products per each order -->
21
+ * <order_simple_product_count_from>{int}</order_simple_product_count_from>
22
+ *
23
+ * <!-- Max number of simple products per each order -->
24
+ * <order_simple_product_count_to>{int}</order_simple_product_count_to>
25
+ *
26
+ * <!-- Min number of configurable products per each order -->
27
+ * <order_configurable_product_count_from>{int}</order_configurable_product_count_from>
28
+ *
29
+ * <!-- Max number of configurable products per each order -->
30
+ * <order_configurable_product_count_to>{int}</order_configurable_product_count_to>
31
+ *
32
+ * <!-- Min number of big configurable products (with big amount of options) per each order -->
33
+ * <order_big_configurable_product_count_from>{int}</order_big_configurable_product_count_from>
34
+ *
35
+ * <!-- Max number of big configurable products (with big amount of options) per each order -->
36
+ * <order_big_configurable_product_count_to>{int}</order_big_configurable_product_count_to>
37
+ *
38
+ * <!-- Number of orders to generate -->
39
+ * <orders>{int}</orders>
40
+ *
41
+ * @see setup/performance-toolkit/profiles/ce/small.xml
42
+ *
16
43
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
17
44
*/
18
45
class OrdersFixture extends Fixture
Original file line number Diff line number Diff line change 33
33
* <assign_entities_to_all_websites>1<assign_entities_to_all_websites/>
34
34
* means that all stores will have the same root category
35
35
*
36
- * <assign_entities_to_all_websites>1 <assign_entities_to_all_websites/>
36
+ * <assign_entities_to_all_websites>0 <assign_entities_to_all_websites/>
37
37
* means that all stores will have unique root category
38
38
*
39
39
* @see setup/performance-toolkit/profiles/ce/small.xml
Original file line number Diff line number Diff line change 7
7
namespace Magento \Setup \Fixtures ;
8
8
9
9
/**
10
- * Class TaxRatesFixture
10
+ * Fixture for generating tax rates fixture
11
+ *
12
+ * Support the following format:
13
+ * <!-- Accepts name of csv file with tax rates (<path to magento folder>/setup/src/Magento/Setup/Fixtures/_files) -->
14
+ * <tax_rates_file>{csv file name}</tax_rates_file>
15
+ *
16
+ * @see setup/performance-toolkit/profiles/ce/small.xml
11
17
*/
12
18
class TaxRatesFixture extends Fixture
13
19
{
You can’t perform that action at this time.
0 commit comments