Passed
Push — trunk ( f797a9...e92141 )
by Christian
22:24 queued 10:00
created

DeleteThemeFilesMessage::getSalesChannelId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 1
b 0
f 0
1
<?php declare(strict_types=1);
2
3
namespace Shopware\Storefront\Theme\Message;
4
5
use Shopware\Core\Framework\MessageQueue\AsyncMessageInterface;
6
7
/**
8
 * @package storefront
9
 *
10
 * used to delay the deletion of theme files
11
 */
12
class DeleteThemeFilesMessage implements AsyncMessageInterface
13
{
14
    public function __construct(
15
        private readonly string $themePath,
16
        private readonly string $salesChannelId,
17
        private readonly string $themeId
18
    ) {
19
    }
20
21
    public function getThemePath(): string
22
    {
23
        return $this->themePath;
24
    }
25
26
    public function getSalesChannelId(): string
27
    {
28
        return $this->salesChannelId;
29
    }
30
31
    public function getThemeId(): string
32
    {
33
        return $this->themeId;
34
    }
35
}
36