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\Artifact
getDefaultConfiguration() : \FeaturePhp\Model\Configuration
\FeaturePhp\Model\Configuration
getFeature(string $featureName, boolean $permissive = false
) : \FeaturePhp\Model\Feature
string
boolean
\FeaturePhp\Model\Feature
getGeneratorSettings(string $generator) : \FeaturePhp\Generator\Settings
string
\FeaturePhp\Generator\Settings
getModel() : \FeaturePhp\Model\Model
\FeaturePhp\Model\Model
getName() : string
string
getProduct(\FeaturePhp\Model\Configuration $configuration = null
) : \FeaturePhp\ProductLine\Product
If the configuration is omitted, the default configuration is used.
\FeaturePhp\Model\Configuration
\FeaturePhp\ProductLine\Product
getSettings() : \FeaturePhp\ProductLine\Settings
\FeaturePhp\ProductLine\Settings
renderTracingLinkAnalysis(\FeaturePhp\Artifact\Artifact $artifact, boolean $textOnly = false
) : string
\FeaturePhp\Artifact\Artifact
boolean
whether to render text or HTML
string
trace(\FeaturePhp\Artifact\Artifact $artifact) : array<mixed,\FeaturePhp\Artifact\TracingLink>
\FeaturePhp\Artifact\Artifact
array<mixed,\FeaturePhp\Artifact\TracingLink>
$settings : \FeaturePhp\ProductLine\Settings