Passed
Branch develop (4ef38d)
by BENARD
03:50
created

AbstractCoreProvider::getData()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace VideoGamesRecords\DwhBundle\DataProvider\Strategy\Core;
4
5
use DateTime;
6
use Doctrine\ORM\EntityManagerInterface;
7
use VideoGamesRecords\DwhBundle\Contracts\DataProvider\CoreProviderInterface;
8
use VideoGamesRecords\DwhBundle\Contracts\DwhInterface;
9
10
class AbstractCoreProvider implements DwhInterface, CoreProviderInterface
11
{
12
    protected EntityManagerInterface $em;
13
14
    public function __construct(EntityManagerInterface $em)
15
    {
16
        $this->em = $em;
17
    }
18
19
    /**
20
     * @return array
21
     */
22
    public function getData(): array
23
    {
24
        return array();
25
    }
26
27
    /**
28
     * @param DateTime $date1
29
     * @param DateTime $date2
30
     * @return array
31
     */
32
    public function getNbPostDay(DateTime $date1, DateTime $date2): array
33
    {
34
        return array();
35
    }
36
}
37
38