public function __construct(Product $product) { parent::__construct(sprintf('Product with SKU "%s" is not available.', $product->sku())); }