Completed
Push — master ( 251d07...973a55 )
by Oleksandr
10s
created

ArvatoRssPersistenceFactory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 10
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A createArvatoRssApiCallLogQuery() 0 4 1
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\ArvatoRss\Persistence;
9
10
use Orm\Zed\ArvatoRss\Persistence\SpyArvatoRssApiCallLogQuery;
11
use Propel\Runtime\ActiveQuery\Criteria;
12
use Spryker\Zed\Kernel\Persistence\AbstractPersistenceFactory;
13
14
/**
15
 * @method \SprykerEco\Zed\ArvatoRss\ArvatoRssConfig getConfig()
16
 * @method \SprykerEco\Zed\ArvatoRss\Persistence\ArvatoRssQueryContainerInterface getQueryContainer()
17
 */
18
class ArvatoRssPersistenceFactory extends AbstractPersistenceFactory
19
{
20
    /**
21
     * @return \Orm\Zed\ArvatoRss\Persistence\SpyArvatoRssApiCallLogQuery
22
     */
23
    public function createArvatoRssApiCallLogQuery()
24
    {
25
        return SpyArvatoRssApiCallLogQuery::create()->orderByUpdatedAt(Criteria::DESC);
26
    }
27
}
28