Passed
Push — feature/eco-3623-payone-pay-u-... ( 0a3f73...4fb100 )
by Roman
03:15
created

createPaymentComputopOrderItemQuery()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * MIT License
5
 * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
6
 */
7
8
namespace SprykerEco\Zed\Computop\Persistence;
9
10
use Orm\Zed\Computop\Persistence\SpyPaymentComputopDetailQuery;
0 ignored issues
show
Bug introduced by
The type Orm\Zed\Computop\Persist...mentComputopDetailQuery was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
11
use Orm\Zed\Computop\Persistence\SpyPaymentComputopNotificationQuery;
0 ignored issues
show
Bug introduced by
The type Orm\Zed\Computop\Persist...mputopNotificationQuery was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
12
use Orm\Zed\Computop\Persistence\SpyPaymentComputopOrderItemQuery;
0 ignored issues
show
Bug introduced by
The type Orm\Zed\Computop\Persist...tComputopOrderItemQuery was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
13
use Orm\Zed\Computop\Persistence\SpyPaymentComputopQuery;
0 ignored issues
show
Bug introduced by
The type Orm\Zed\Computop\Persist...SpyPaymentComputopQuery was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
14
use Orm\Zed\Sales\Persistence\SpySalesOrderItemQuery;
0 ignored issues
show
Bug introduced by
The type Orm\Zed\Sales\Persistence\SpySalesOrderItemQuery was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
15
use Spryker\Zed\Kernel\Persistence\AbstractPersistenceFactory;
16
use SprykerEco\Zed\Computop\Persistence\Propel\Mapper\ComputopMapper;
17
18
/**
19
 * @method \SprykerEco\Zed\Computop\ComputopConfig getConfig()
20
 * @method \SprykerEco\Zed\Computop\Persistence\ComputopQueryContainerInterface getQueryContainer()
21
 * @method \SprykerEco\Zed\Computop\Persistence\ComputopEntityManagerInterface getEntityManager()
22
 * @method \SprykerEco\Zed\Computop\Persistence\ComputopRepositoryInterface getRepository()
23
 */
24
class ComputopPersistenceFactory extends AbstractPersistenceFactory
25
{
26
    /**
27
     * @return \Orm\Zed\Computop\Persistence\SpyPaymentComputopQuery
28
     */
29
    public function getPaymentComputopQuery(): SpyPaymentComputopQuery
30
    {
31
        return SpyPaymentComputopQuery::create();
32
    }
33
34
    /**
35
     * @return \Orm\Zed\Computop\Persistence\SpyPaymentComputopDetailQuery
36
     */
37
    public function getPaymentComputopDetailQuery(): SpyPaymentComputopDetailQuery
38
    {
39
        return SpyPaymentComputopDetailQuery::create();
40
    }
41
42
    /**
43
     * @return \Orm\Zed\Computop\Persistence\SpyPaymentComputopOrderItemQuery
44
     */
45
    public function getPaymentComputopOrderItemQuery(): SpyPaymentComputopOrderItemQuery
46
    {
47
        return SpyPaymentComputopOrderItemQuery::create();
48
    }
49
50
    /**
51
     * @return \Orm\Zed\Sales\Persistence\SpySalesOrderItemQuery
52
     */
53
    public function getSpySalesOrderItemQuery(): SpySalesOrderItemQuery
54
    {
55
        return SpySalesOrderItemQuery::create();
56
    }
57
58
    /**
59
     * @return \Orm\Zed\Computop\Persistence\SpyPaymentComputopNotificationQuery
60
     */
61
    public function getPaymentComputopNotificationQuery(): SpyPaymentComputopNotificationQuery
62
    {
63
        return SpyPaymentComputopNotificationQuery::create();
64
    }
65
66
    /**
67
     * @return \SprykerEco\Zed\Computop\Persistence\Propel\Mapper\ComputopMapper
68
     */
69
    public function createComputopMapper(): ComputopMapper
70
    {
71
        return new ComputopMapper();
72
    }
73
}
74