*** # ProductInterface Interface for a product. * Full name: `\PhpDocumentorMarkdown\Example\ProductInterface` ## Methods ### __construct ```php public __construct(string $name, float $price): mixed ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$name` | **string** | Product name. | | `$price` | **float** | Product price. | *** ### getName Get the name of the product. ```php public getName(): string ``` *** ### getPrice Get the price of the product. ```php public getPrice(): float ``` *** ### getTaxRate Get the tax rate for this product. ```php public getTaxRate(): float ``` *** *** > Automatically generated from source code comments on 2022-04-24 using [phpDocumentor](http://www.phpdoc.org/) and [saggre/phpdocumentor-markdown](https://github.com/Saggre/phpDocumentor-markdown)