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\Payone\Persistence; |
9
|
|
|
|
10
|
|
|
use Orm\Zed\Payone\Persistence\SpyPaymentPayoneApiCallLogQuery; |
|
|
|
|
11
|
|
|
use Orm\Zed\Payone\Persistence\SpyPaymentPayoneApiLogQuery; |
|
|
|
|
12
|
|
|
use Orm\Zed\Payone\Persistence\SpyPaymentPayoneOrderItemQuery; |
|
|
|
|
13
|
|
|
use Orm\Zed\Payone\Persistence\SpyPaymentPayoneQuery; |
|
|
|
|
14
|
|
|
use Orm\Zed\Payone\Persistence\SpyPaymentPayoneTransactionStatusLogOrderItemQuery; |
|
|
|
|
15
|
|
|
use Orm\Zed\Payone\Persistence\SpyPaymentPayoneTransactionStatusLogQuery; |
|
|
|
|
16
|
|
|
use Spryker\Zed\Kernel\Persistence\AbstractPersistenceFactory; |
17
|
|
|
use SprykerEco\Zed\Payone\Dependency\Service\PayoneToUtilEncodingServiceInterface; |
18
|
|
|
use SprykerEco\Zed\Payone\PayoneDependencyProvider; |
19
|
|
|
use SprykerEco\Zed\Payone\Persistence\Propel\Mapper\PayonePersistenceMapper; |
20
|
|
|
|
21
|
|
|
/** |
22
|
|
|
* @method \SprykerEco\Zed\Payone\PayoneConfig getConfig() |
23
|
|
|
* @method \SprykerEco\Zed\Payone\Persistence\PayoneQueryContainerInterface getQueryContainer() |
24
|
|
|
* @method \SprykerEco\Zed\Payone\Persistence\PayoneEntityManagerInterface getEntityManager() |
25
|
|
|
* @method \SprykerEco\Zed\Payone\Persistence\PayoneRepositoryInterface getRepository() |
26
|
|
|
*/ |
27
|
|
|
class PayonePersistenceFactory extends AbstractPersistenceFactory |
28
|
|
|
{ |
29
|
|
|
/** |
30
|
|
|
* @return \Orm\Zed\Payone\Persistence\SpyPaymentPayoneTransactionStatusLogQuery |
31
|
|
|
*/ |
32
|
|
|
public function createPaymentPayoneTransactionStatusLogQuery(): SpyPaymentPayoneTransactionStatusLogQuery |
33
|
|
|
{ |
34
|
|
|
return SpyPaymentPayoneTransactionStatusLogQuery::create(); |
35
|
|
|
} |
36
|
|
|
|
37
|
|
|
/** |
38
|
|
|
* @return \Orm\Zed\Payone\Persistence\SpyPaymentPayoneQuery |
39
|
|
|
*/ |
40
|
|
|
public function createPaymentPayoneQuery(): SpyPaymentPayoneQuery |
41
|
|
|
{ |
42
|
|
|
return SpyPaymentPayoneQuery::create(); |
43
|
|
|
} |
44
|
|
|
|
45
|
|
|
/** |
46
|
|
|
* @return \Orm\Zed\Payone\Persistence\SpyPaymentPayoneApiLogQuery |
47
|
|
|
*/ |
48
|
|
|
public function createPaymentPayoneApiLogQuery(): SpyPaymentPayoneApiLogQuery |
49
|
|
|
{ |
50
|
|
|
return SpyPaymentPayoneApiLogQuery::create(); |
51
|
|
|
} |
52
|
|
|
|
53
|
|
|
/** |
54
|
|
|
* @return \Orm\Zed\Payone\Persistence\SpyPaymentPayoneTransactionStatusLogOrderItemQuery |
55
|
|
|
*/ |
56
|
|
|
public function createPaymentPayoneTransactionStatusLogOrderItemQuery(): SpyPaymentPayoneTransactionStatusLogOrderItemQuery |
57
|
|
|
{ |
58
|
|
|
return SpyPaymentPayoneTransactionStatusLogOrderItemQuery::create(); |
59
|
|
|
} |
60
|
|
|
|
61
|
|
|
/** |
62
|
|
|
* @return \Orm\Zed\Payone\Persistence\SpyPaymentPayoneApiCallLogQuery |
63
|
|
|
*/ |
64
|
|
|
public function createPaymentPayoneApiCallLogQuery(): SpyPaymentPayoneApiCallLogQuery |
65
|
|
|
{ |
66
|
|
|
return SpyPaymentPayoneApiCallLogQuery::create(); |
67
|
|
|
} |
68
|
|
|
|
69
|
|
|
/** |
70
|
|
|
* @return \Orm\Zed\Payone\Persistence\SpyPaymentPayoneOrderItemQuery |
71
|
|
|
*/ |
72
|
|
|
public function createPaymentPayoneOrderItemQuery(): SpyPaymentPayoneOrderItemQuery |
73
|
|
|
{ |
74
|
|
|
return SpyPaymentPayoneOrderItemQuery::create(); |
75
|
|
|
} |
76
|
|
|
|
77
|
|
|
/** |
78
|
|
|
* @return \SprykerEco\Zed\Payone\Persistence\Propel\Mapper\PayonePersistenceMapper |
79
|
|
|
*/ |
80
|
|
|
public function createPayonePersistenceMapper(): PayonePersistenceMapper |
81
|
|
|
{ |
82
|
|
|
return new PayonePersistenceMapper(); |
83
|
|
|
} |
84
|
|
|
|
85
|
|
|
/** |
86
|
|
|
* @return \SprykerEco\Zed\Payone\Dependency\Service\PayoneToUtilEncodingServiceInterface |
87
|
|
|
*/ |
88
|
|
|
public function getServiceUtilEncoding(): PayoneToUtilEncodingServiceInterface |
89
|
|
|
{ |
90
|
|
|
return $this->getProvidedDependency(PayoneDependencyProvider::SERVICE_UTIL_ENCODING); |
91
|
|
|
} |
92
|
|
|
} |
93
|
|
|
|
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:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths