createOmsOrderItemStateHistoryQuery()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
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\FirstData\Persistence;
9
10
use Orm\Zed\FirstData\Persistence\SpyPaymentFirstDataApiLogQuery;
0 ignored issues
show
Bug introduced by
The type Orm\Zed\FirstData\Persis...entFirstDataApiLogQuery 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\FirstData\Persistence\SpyPaymentFirstDataItemQuery;
0 ignored issues
show
Bug introduced by
The type Orm\Zed\FirstData\Persis...ymentFirstDataItemQuery 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\FirstData\Persistence\SpyPaymentFirstDataNotificationQuery;
0 ignored issues
show
Bug introduced by
The type Orm\Zed\FirstData\Persis...stDataNotificationQuery 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\FirstData\Persistence\SpyPaymentFirstDataQuery;
0 ignored issues
show
Bug introduced by
The type Orm\Zed\FirstData\Persis...pyPaymentFirstDataQuery 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\Oms\Persistence\SpyOmsOrderItemStateHistoryQuery;
0 ignored issues
show
Bug introduced by
The type Orm\Zed\Oms\Persistence\...erItemStateHistoryQuery 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
17
/**
18
 * @method \SprykerEco\Zed\FirstData\FirstDataConfig getConfig()
19
 * @method \SprykerEco\Zed\FirstData\Persistence\FirstDataEntityManagerInterface getEntityManager()
20
 * @method \SprykerEco\Zed\FirstData\Persistence\FirstDataEntityManagerInterface getRepository()
21
 */
22
class FirstDataPersistenceFactory extends AbstractPersistenceFactory
23
{
24
    /**
25
     * @return \Orm\Zed\Oms\Persistence\SpyOmsOrderItemStateHistoryQuery
26
     */
27
    public function createOmsOrderItemStateHistoryQuery(): SpyOmsOrderItemStateHistoryQuery
28
    {
29
        return SpyOmsOrderItemStateHistoryQuery::create();
30
    }
31
32
    /**
33
     * @return \Orm\Zed\FirstData\Persistence\SpyPaymentFirstDataQuery
34
     */
35
    public function createPaymentFirstDataQuery(): SpyPaymentFirstDataQuery
36
    {
37
        return SpyPaymentFirstDataQuery::create();
38
    }
39
40
    /**
41
     * @return \Orm\Zed\FirstData\Persistence\SpyPaymentFirstDataApiLogQuery
42
     */
43
    public function createPaymentFirstDataApiLogQuery(): SpyPaymentFirstDataApiLogQuery
44
    {
45
        return SpyPaymentFirstDataApiLogQuery::create();
46
    }
47
48
    /**
49
     * @return \Orm\Zed\FirstData\Persistence\SpyPaymentFirstDataItemQuery
50
     */
51
    public function createPaymentFirstDataItemQuery(): SpyPaymentFirstDataItemQuery
52
    {
53
        return SpyPaymentFirstDataItemQuery::create();
54
    }
55
56
    /**
57
     * @return \Orm\Zed\FirstData\Persistence\SpyPaymentFirstDataNotificationQuery
58
     */
59
    public function createSpyPaymentFirstDataNotificationQuery(): SpyPaymentFirstDataNotificationQuery
60
    {
61
        return SpyPaymentFirstDataNotificationQuery::create();
62
    }
63
}
64