A configuration of a software product line.
A configuration is a set of selected features of a feature model, implying a set of deselected features as well (\FeaturePhp\Model\Feature and \FeaturePhp\Model\Model). (Partial configurations are not needed on the server-side.) A configuration may be valid or invalid, this is determined by a the feature model's \FeaturePhp\Model\ConstraintSolver. The underlying XML configuration has its own class, \FeaturePhp\Model\XmlConfiguration.
| package | Default |
|---|
__construct(\FeaturePhp\Model\Model $model, \FeaturePhp\Model\XmlConfiguration $xmlConfiguration)
\FeaturePhp\Model\Model
\FeaturePhp\Model\XmlConfiguration
getDeselectedFeatures() : array<mixed,\FeaturePhp\Model\Feature>
array<mixed,\FeaturePhp\Model\Feature>getModel() : \FeaturePhp\Model\Model
\FeaturePhp\Model\ModelgetSelectedFeatures() : array<mixed,\FeaturePhp\Model\Feature>
array<mixed,\FeaturePhp\Model\Feature>getValue(\FeaturePhp\Model\ValueFeature $feature) : string
\FeaturePhp\Model\ValueFeature
stringgetXmlConfiguration() : \FeaturePhp\Model\XmlConfiguration
\FeaturePhp\Model\XmlConfigurationisValid() : boolean
booleanrenderAnalysis(\FeaturePhp\ProductLine\ProductLine $productLine= null, boolean $textOnly= false) : string
\FeaturePhp\ProductLine\ProductLineoptional product line to render more information
booleanwhether to render text or HTML
string$deselectedFeatures : array<mixed,\FeaturePhp\Model\Feature>
$model : \FeaturePhp\Model\Model
$selectedFeatures : array<mixed,\FeaturePhp\Model\Feature>
$xmlConfiguration : \FeaturePhp\Model\XmlConfiguration