Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.
You might want to read the documentation for the current version, PrestaShop 8. Read the current version of this page
PrestaShop\PrestaShop\Core\Domain\Feature\Command\AddFeatureCommand
Adds new feature
Command details | |
---|---|
Constructor parameters |
|
)` | |
Handler class | PrestaShop\PrestaShop\Adapter\Feature\CommandHandler\AddFeatureHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Feature\ValueObject\FeatureId |
PrestaShop\PrestaShop\Core\Domain\Feature\Command\AddFeatureValueCommand
Class AddFeatureValueCommand is used to add predefined feature values (as opposed to custom values which are only assigned to a Specific product)
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Feature\CommandHandler\AddFeatureValueHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Feature\ValueObject\FeatureValueId |
PrestaShop\PrestaShop\Core\Domain\Feature\Command\EditFeatureCommand
Edit feature with given data.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Feature\CommandHandler\EditFeatureHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Feature\Command\EditFeatureValueCommand
Class EditFeatureValueCommand is used to edit FeatureValue content
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Feature\CommandHandler\EditFeatureValueHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Feature\Query\GetFeatureForEditing
Retrieves feature data for editing
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Feature\QueryHandler\GetFeatureForEditingHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Feature\QueryResult\EditableFeature |
PrestaShop\PrestaShop\Core\Domain\Feature\Query\GetFeatureValueForEditing
Retrieves feature value data for editing
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Feature\QueryHandler\GetFeatureValueForEditingHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Feature\QueryResult\EditableFeatureValue |