A feature-oriented software product line.
A product line consists of a feature model (see \FeaturePhp\Model\Model), a set of artifacts (see \FeaturePhp\Artifact\Artifact) and instructions on how to generate a product from a configuration (see \FeaturePhp\Generator\Generator). All of these are provided using \FeaturePhp\ProductLine\Settings.
| package | Default |
|---|
__construct(\FeaturePhp\ProductLine\Settings $settings)
\FeaturePhp\ProductLine\Settings
getArtifact(\FeaturePhp\Model\Feature $feature) : \FeaturePhp\Artifact\Artifact
\FeaturePhp\Model\Feature
\FeaturePhp\Artifact\ArtifactgetDefaultConfiguration() : \FeaturePhp\Model\Configuration
\FeaturePhp\Model\ConfigurationgetFeature(string $featureName, boolean $permissive = false) : \FeaturePhp\Model\Feature
string
boolean
\FeaturePhp\Model\FeaturegetGeneratorSettings(string $generator) : \FeaturePhp\Generator\Settings
string
\FeaturePhp\Generator\SettingsgetModel() : \FeaturePhp\Model\Model
\FeaturePhp\Model\ModelgetName() : string
stringgetProduct(\FeaturePhp\Model\Configuration $configuration = null) : \FeaturePhp\ProductLine\Product
If the configuration is omitted, the default configuration is used.
\FeaturePhp\Model\Configuration
\FeaturePhp\ProductLine\ProductgetSettings() : \FeaturePhp\ProductLine\Settings
\FeaturePhp\ProductLine\SettingsrenderTracingLinkAnalysis(\FeaturePhp\Artifact\Artifact $artifact, boolean $textOnly = false) : string
\FeaturePhp\Artifact\Artifact
booleanwhether to render text or HTML
stringtrace(\FeaturePhp\Artifact\Artifact $artifact) : array<mixed,\FeaturePhp\Artifact\TracingLink>
\FeaturePhp\Artifact\Artifact
array<mixed,\FeaturePhp\Artifact\TracingLink>$settings : \FeaturePhp\ProductLine\Settings