FeaturePhp/ProductLine/ProductLine.php
public function trace($artifact) {
        $featureName = str_replace("\"", "&quot;", $artifact->getFeature()->getName());
        $xmlConfiguration = fphp\Model\XmlConfiguration::fromString(
            '<configuration><feature name="' . $featureName . '" automatic="undefined" manual="selected"/></configuration>');
        $configuration = new fphp\Model\Configuration($this->getModel(), $xmlConfiguration);
        $product = new Product($this, $configuration, true);
        return $product->trace();
    }
public function trace($artifact) {
        $featureName = str_replace("\"", "&quot;", $artifact->getFeature()->getName());
        $xmlConfiguration = fphp\Model\XmlConfiguration::fromString(
            '<configuration><feature name="' . $featureName . '" automatic="undefined" manual="selected"/></configuration>');
        $configuration = new fphp\Model\Configuration($this->getModel(), $xmlConfiguration);
        $product = new Product($this, $configuration, true);
        return $product->trace();
    }
public function trace ( $ artifact ) { $ featureName = str_replace ( "\"" , "&quot;" , $ artifact -> getFeature ( ) -> getName ( ) ) ; $ xmlConfiguration = fphp \ Model \ XmlConfiguration :: fromString ( '<configuration><feature name="' . $ featureName . '" automatic="undefined" manual="selected"/></configuration>' ) ; $ configuration = new fphp \ Model \ Configuration ( $ this -> getModel ( ) , $ xmlConfiguration ) ; $ product = new Product ( $ this , $ configuration , true ) ; return $ product -> trace ( ) ; }
Returns tracing links for an artifact.
@param \FeaturePhp\Artifact\Artifact $artifact
@return \FeaturePhp\Artifact\TracingLink[]
Returns tracing links for an artifact .