|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (IndexerReindexCommand $reindexCommand, $initArguments=[]) | |
| reindex (OutputInterface $output) | |
| getParamLabels () | |
| getFixtures () | |
| getFixtureByName ($name) | |
| getObjectManager () | |
| initObjectManager ($area=self::AREA_CODE) | |
| resetObjectManager () | |
| loadConfig ($filename) | |
| getValue ($key, $default=null) | |
Data Fields | |
| const | AREA_CODE = 'adminhtml' |
| const | FIXTURE_PATTERN = '?*Fixture.php' |
Protected Attributes | |
| $application | |
| $objectManager | |
| $fixtures = [] | |
| $paramLabels = [] | |
| $initArguments | |
@SuppressWarnings(PHPMD.CouplingBetweenObjects)
Definition at line 20 of file FixtureModel.php.
| __construct | ( | IndexerReindexCommand | $reindexCommand, |
$initArguments = [] |
|||
| ) |
Constructor
| IndexerReindexCommand | $reindexCommand | |
| array | $initArguments |
Definition at line 82 of file FixtureModel.php.
| getFixtureByName | ( | $name | ) |
Returns fixture by name
| $name | string |
Definition at line 165 of file FixtureModel.php.
| getFixtures | ( | ) |
| getObjectManager | ( | ) |
Get object manager
Definition at line 179 of file FixtureModel.php.
| getParamLabels | ( | ) |
| getValue | ( | $key, | |
$default = null |
|||
| ) |
Get profile configuration value
| string | $key | |
| null | mixed | $default |
Definition at line 268 of file FixtureModel.php.
| initObjectManager | ( | $area = self::AREA_CODE | ) |
Init Object Manager
| string | $area |
Definition at line 199 of file FixtureModel.php.
| loadConfig | ( | $filename | ) |
Load config from file
| string | $filename |
Definition at line 255 of file FixtureModel.php.
| reindex | ( | OutputInterface | $output | ) |
Run reindex
| OutputInterface | $output |
Definition at line 94 of file FixtureModel.php.
| resetObjectManager | ( | ) |
Reset object manager
Definition at line 230 of file FixtureModel.php.
|
protected |
Definition at line 37 of file FixtureModel.php.
|
protected |
Definition at line 49 of file FixtureModel.php.
|
protected |
Definition at line 69 of file FixtureModel.php.
|
protected |
Definition at line 42 of file FixtureModel.php.
|
protected |
Definition at line 64 of file FixtureModel.php.
| const AREA_CODE = 'adminhtml' |
Area code
Definition at line 25 of file FixtureModel.php.
| const FIXTURE_PATTERN = '?*Fixture.php' |
Fixtures file name pattern
Definition at line 30 of file FixtureModel.php.