|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (FixtureModel $fixtureModel, StoreManager $storeManager, ManagerInterface $eventManager, CategoryFactory $categoryFactory, Config $localeConfig, Writer $scopeConfig) | |
| execute () | |
| getActionTitle () | |
| introduceParamLabels () | |
Public Member Functions inherited from Fixture | |
| __construct (FixtureModel $fixtureModel) | |
| execute () | |
| getActionTitle () | |
| printInfo (OutputInterface $output) | |
| introduceParamLabels () | |
| getPriority () | |
Data Fields | |
| const | DEFAULT_WEBSITE_COUNT = 1 |
| const | DEFAULT_STORE_COUNT = 1 |
| const | DEFAULT_STORE_VIEW_COUNT = 1 |
Protected Attributes | |
| $priority = 10 | |
Protected Attributes inherited from Fixture | |
| $priority | |
| $fixtureModel | |
Generate websites, store groups and store views based on profile configuration Supports next format: <websites>{amount of websites}</websites> <store_groups>{amount of store groups}</store_groups> <store_views>{amount of store views}</store_views> <assign_entities_to_all_websites>{1|0}</assign_entities_to_all_websites>
Each node of configuration except <assign_entities_to_all_websites> means how many entities need to be generated
Store groups will have normal distribution among websites Store views will have normal distribution among store groups
<assign_entities_to_all_websites>1<assign_entities_to_all_websites> means that all stores will have the same root category
<assign_entities_to_all_websites>0<assign_entities_to_all_websites> means that all stores will have unique root category
Definition at line 42 of file StoresFixture.php.
| __construct | ( | FixtureModel | $fixtureModel, |
| StoreManager | $storeManager, | ||
| ManagerInterface | $eventManager, | ||
| CategoryFactory | $categoryFactory, | ||
| Config | $localeConfig, | ||
| Writer | $scopeConfig | ||
| ) |
StoresFixture constructor
| FixtureModel | $fixtureModel | |
| StoreManager | $storeManager | |
| ManagerInterface | $eventManager | |
| CategoryFactory | $categoryFactory | |
| Config | $localeConfig | |
| Writer | $scopeConfig |
Definition at line 159 of file StoresFixture.php.
| execute | ( | ) |
{} @SuppressWarnings(PHPMD)
Definition at line 179 of file StoresFixture.php.
| getActionTitle | ( | ) |
{}
Definition at line 354 of file StoresFixture.php.
| introduceParamLabels | ( | ) |
{}
Definition at line 362 of file StoresFixture.php.
|
protected |
Definition at line 53 of file StoresFixture.php.
| const DEFAULT_STORE_COUNT = 1 |
Definition at line 46 of file StoresFixture.php.
| const DEFAULT_STORE_VIEW_COUNT = 1 |
Definition at line 48 of file StoresFixture.php.
| const DEFAULT_WEBSITE_COUNT = 1 |
Definition at line 44 of file StoresFixture.php.