An artifact associated with a feature.
An artifact is a representation of a \FeaturePhp\Model\Feature with information on how to generate a product for which the feature is selected or deselected. This information is provided by a \FeaturePhp\Artifact\Settings object.
package | Default |
---|
__construct(\FeaturePhp\Model\Feature $feature, \FeaturePhp\Artifact\Settings $settings)
\FeaturePhp\Model\Feature
\FeaturePhp\Artifact\Settings
getFeature() : \FeaturePhp\Model\Feature
\FeaturePhp\Model\Feature
getGeneratorSettings(string $generator) : \FeaturePhp\Generator\Settings
Returns empty settings if no settings are specified for the generator.
string
\FeaturePhp\Generator\Settings
getGenerators() : array<mixed,\FeaturePhp\Generator\Settings>
array<mixed,\FeaturePhp\Generator\Settings>
getSettings() : \FeaturePhp\Artifact\Settings
\FeaturePhp\Artifact\Settings
isGenerated() : boolean
boolean
$feature : \FeaturePhp\Model\Feature
$settings : \FeaturePhp\Artifact\Settings