Total Complexity | 5 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
12 | final class ArticleCommentFactory implements ArticleCommentFactoryInterface |
||
13 | { |
||
14 | /** @var ArticleCommentFactoryInterface */ |
||
15 | private $decoratedFactory; |
||
16 | |||
17 | /** @var ShopUserInterface|object|string|null */ |
||
18 | private $shopUser; |
||
19 | |||
20 | public function __construct( |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * {@inheritdoc} |
||
32 | */ |
||
33 | public function createNew(): object |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | public function createNewWithArticleOrComment(string $articleId, string $commentId = null): ArticleCommentInterface |
||
53 |