|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
/** |
|
4
|
|
|
* MIT License |
|
5
|
|
|
* For full license information, please view the LICENSE file that was distributed with this source code. |
|
6
|
|
|
*/ |
|
7
|
|
|
|
|
8
|
|
|
namespace SprykerEco\Zed\AfterPay\Persistence; |
|
9
|
|
|
|
|
10
|
|
|
use Orm\Zed\AfterPay\Persistence\SpyPaymentAfterPayAuthorizationQuery; |
|
|
|
|
|
|
11
|
|
|
use Orm\Zed\AfterPay\Persistence\SpyPaymentAfterPayOrderItemQuery; |
|
|
|
|
|
|
12
|
|
|
use Orm\Zed\AfterPay\Persistence\SpyPaymentAfterPayQuery; |
|
|
|
|
|
|
13
|
|
|
use Orm\Zed\AfterPay\Persistence\SpyPaymentAfterPayTransactionLogQuery; |
|
|
|
|
|
|
14
|
|
|
use Orm\Zed\Sales\Persistence\SpySalesOrderQuery; |
|
|
|
|
|
|
15
|
|
|
use Spryker\Zed\Kernel\Persistence\AbstractPersistenceFactory; |
|
16
|
|
|
|
|
17
|
|
|
/** |
|
18
|
|
|
* @method \SprykerEco\Zed\AfterPay\AfterPayConfig getConfig() |
|
19
|
|
|
* @method \SprykerEco\Zed\AfterPay\Persistence\AfterPayQueryContainerInterface getQueryContainer() |
|
20
|
|
|
* @method \SprykerEco\Zed\AfterPay\Persistence\AfterPayEntityManagerInterface getEntityManager() |
|
21
|
|
|
*/ |
|
22
|
|
|
class AfterPayPersistenceFactory extends AbstractPersistenceFactory |
|
23
|
|
|
{ |
|
24
|
|
|
/** |
|
25
|
|
|
* @return \Orm\Zed\AfterPay\Persistence\SpyPaymentAfterPayQuery |
|
26
|
|
|
*/ |
|
27
|
|
|
public function createPaymentAfterPayQuery(): SpyPaymentAfterPayQuery |
|
28
|
|
|
{ |
|
29
|
|
|
return SpyPaymentAfterPayQuery::create(); |
|
30
|
|
|
} |
|
31
|
|
|
|
|
32
|
|
|
/** |
|
33
|
|
|
* @return \Orm\Zed\AfterPay\Persistence\SpyPaymentAfterPayOrderItemQuery |
|
34
|
|
|
*/ |
|
35
|
|
|
public function createPaymentAfterPayOrderItemQuery(): SpyPaymentAfterPayOrderItemQuery |
|
36
|
|
|
{ |
|
37
|
|
|
return SpyPaymentAfterPayOrderItemQuery::create(); |
|
38
|
|
|
} |
|
39
|
|
|
|
|
40
|
|
|
/** |
|
41
|
|
|
* @return \Orm\Zed\AfterPay\Persistence\SpyPaymentAfterPayTransactionLogQuery |
|
42
|
|
|
*/ |
|
43
|
|
|
public function createPaymentAfterPayTransactionLogQuery(): SpyPaymentAfterPayTransactionLogQuery |
|
44
|
|
|
{ |
|
45
|
|
|
return SpyPaymentAfterPayTransactionLogQuery::create(); |
|
46
|
|
|
} |
|
47
|
|
|
|
|
48
|
|
|
/** |
|
49
|
|
|
* @return \Orm\Zed\AfterPay\Persistence\SpyPaymentAfterPayAuthorizationQuery |
|
50
|
|
|
*/ |
|
51
|
|
|
public function createPaymentAfterPayAuthorizationQuery(): SpyPaymentAfterPayAuthorizationQuery |
|
52
|
|
|
{ |
|
53
|
|
|
return SpyPaymentAfterPayAuthorizationQuery::create(); |
|
54
|
|
|
} |
|
55
|
|
|
|
|
56
|
|
|
/** |
|
57
|
|
|
* @return \Orm\Zed\Sales\Persistence\SpySalesOrderQuery |
|
58
|
|
|
*/ |
|
59
|
|
|
public function createSalesOrderQuery(): SpySalesOrderQuery |
|
60
|
|
|
{ |
|
61
|
|
|
return SpySalesOrderQuery::create(); |
|
62
|
|
|
} |
|
63
|
|
|
} |
|
64
|
|
|
|
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