public function getProduct($configuration = null) {
        if (!$configuration)
            $configuration = $this->getDefaultConfiguration();
        return new Product($this, $configuration);
    }
public function getProduct($configuration = null) {
        if (!$configuration)
            $configuration = $this->getDefaultConfiguration();
        return new Product($this, $configuration);
    }
public function getProduct ( $ configuration = null ) { if ( ! $ configuration ) $ configuration = $ this -> getDefaultConfiguration ( ) ; return new Product ( $ this , $ configuration ) ; }
Returns a product of the product line for a configuration.
If the configuration is omitted, the default configuration is used.
@param \FeaturePhp\Model\Configuration $configuration
@return Product
Returns a product of the product line for a configuration . If the configuration is omitted the default configuration is used .