| 1 | <?php  | 
            ||
| 7 | final class AddReview  | 
            ||
| 8 | { | 
            ||
| 9 | /**  | 
            ||
| 10 | * @var string  | 
            ||
| 11 | */  | 
            ||
| 12 | private $productSlug;  | 
            ||
| 13 | |||
| 14 | /**  | 
            ||
| 15 | * @var string  | 
            ||
| 16 | */  | 
            ||
| 17 | private $channelCode;  | 
            ||
| 18 | |||
| 19 | /**  | 
            ||
| 20 | * @var string  | 
            ||
| 21 | */  | 
            ||
| 22 | private $title;  | 
            ||
| 23 | |||
| 24 | /**  | 
            ||
| 25 | * @var int  | 
            ||
| 26 | */  | 
            ||
| 27 | private $rating;  | 
            ||
| 28 | |||
| 29 | /**  | 
            ||
| 30 | * @var string  | 
            ||
| 31 | */  | 
            ||
| 32 | private $comment;  | 
            ||
| 33 | |||
| 34 | /**  | 
            ||
| 35 | * @var string  | 
            ||
| 36 | */  | 
            ||
| 37 | private $email;  | 
            ||
| 38 | |||
| 39 | public function __construct(string $productSlug, string $channelCode, string $title, int $rating, string $comment, string $email)  | 
            ||
| 48 | |||
| 49 | public function productSlug(): string  | 
            ||
| 53 | |||
| 54 | public function channelCode(): string  | 
            ||
| 58 | |||
| 59 | public function title(): string  | 
            ||
| 63 | |||
| 64 | public function rating(): int  | 
            ||
| 68 | |||
| 69 | public function comment(): string  | 
            ||
| 73 | |||
| 74 | public function email(): string  | 
            ||
| 78 | }  | 
            ||
| 79 |