ProductProviderInterface
ProductProviderInterface.php
:
16
Interface
What other packages can ask about a product, identified by a {@see ProductIdentifier} value.
Methods¶
getProductState()
¶
ProductProviderInterface.php
:
21
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $identifier | string | - | - |
Return values
Tags
isPromoted()
¶
ProductProviderInterface.php
:
28
Tells whether this package promotes the product: it is not enabled and its promotion is switched on.
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $identifier | string | - | - |
Return values
bool