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
|
|
|
*/ |
21
|
|
|
class AfterPayPersistenceFactory extends AbstractPersistenceFactory |
22
|
|
|
{ |
23
|
|
|
/** |
24
|
|
|
* @return \Orm\Zed\AfterPay\Persistence\SpyPaymentAfterPayQuery |
25
|
|
|
*/ |
26
|
|
|
public function createPaymentAfterPayQuery(): SpyPaymentAfterPayQuery |
27
|
|
|
{ |
28
|
|
|
return SpyPaymentAfterPayQuery::create(); |
29
|
|
|
} |
30
|
|
|
|
31
|
|
|
/** |
32
|
|
|
* @return \Orm\Zed\AfterPay\Persistence\SpyPaymentAfterPayOrderItemQuery |
33
|
|
|
*/ |
34
|
|
|
public function createPaymentAfterPayOrderItemQuery(): SpyPaymentAfterPayOrderItemQuery |
35
|
|
|
{ |
36
|
|
|
return SpyPaymentAfterPayOrderItemQuery::create(); |
37
|
|
|
} |
38
|
|
|
|
39
|
|
|
/** |
40
|
|
|
* @return \Orm\Zed\AfterPay\Persistence\SpyPaymentAfterPayTransactionLogQuery |
41
|
|
|
*/ |
42
|
|
|
public function createPaymentAfterPayTransactionLogQuery(): SpyPaymentAfterPayTransactionLogQuery |
43
|
|
|
{ |
44
|
|
|
return SpyPaymentAfterPayTransactionLogQuery::create(); |
45
|
|
|
} |
46
|
|
|
|
47
|
|
|
/** |
48
|
|
|
* @return \Orm\Zed\AfterPay\Persistence\SpyPaymentAfterPayAuthorizationQuery |
49
|
|
|
*/ |
50
|
|
|
public function createPaymentAfterPayAuthorizationQuery(): SpyPaymentAfterPayAuthorizationQuery |
51
|
|
|
{ |
52
|
|
|
return SpyPaymentAfterPayAuthorizationQuery::create(); |
53
|
|
|
} |
54
|
|
|
|
55
|
|
|
/** |
56
|
|
|
* @return \Orm\Zed\Sales\Persistence\SpySalesOrderQuery |
57
|
|
|
*/ |
58
|
|
|
public function createSalesOrderQuery(): SpySalesOrderQuery |
59
|
|
|
{ |
60
|
|
|
return SpySalesOrderQuery::create(); |
61
|
|
|
} |
62
|
|
|
} |
63
|
|
|
|
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