Completed
Push — master ( 4c9fb6...4ad644 )
by
unknown
25s queued 11s
created

RemoveProductFromWishlist::getWishlistTokenValue()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace BitBag\SyliusWishlistPlugin\Command\Wishlist;
6
7
final class RemoveProductFromWishlist
8
{
9
    private int $productId;
10
11
    private string $wishlistToken;
12
13
    public function __construct(int $productId, string $token)
14
    {
15
        $this->productId = $productId;
16
        $this->wishlistToken = $token;
17
    }
18
19
    public function getProductIdValue(): int
20
    {
21
        return $this->productId;
22
    }
23
24
    public function getWishlistTokenValue(): string
25
    {
26
        return $this->wishlistToken;
27
    }
28
}
29