Country::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8

Duplication

Lines 8
Ratio 100 %

Importance

Changes 0
Metric Value
dl 8
loc 8
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 4
1
<?php
2
/**
3
 * This file is part of the Betfair library.
4
 *
5
 * (c) Daniele D'Angeli <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
namespace Betfair\BettingApi\Country;
11
12
use Betfair\Adapter\AdapterInterface;
13
use Betfair\BettingApi\BetfairMarketFilterObject;
14
use Betfair\Client\BetfairClientInterface;
15
use Betfair\Factory\MarketFilterFactoryInterface;
16
use Betfair\Factory\ParamFactoryInterface;
17
18 View Code Duplication
class Country extends BetfairMarketFilterObject
19
{
20
    const API_METHOD_NAME = "listCountries";
21
22
    /**
23
     * @param BetfairClientInterface $betfairClient
24
     * @param AdapterInterface $adapter
25
     * @param ParamFactoryInterface $paramFactory
26
     * @param MarketFilterFactoryInterface $marketFilterFactory
27
     */
28
    public function __construct(
29
        BetfairClientInterface $betfairClient,
30
        AdapterInterface $adapter,
31
        ParamFactoryInterface $paramFactory,
32
        MarketFilterFactoryInterface $marketFilterFactory
33
    ) {
34
        parent::__construct($betfairClient, $adapter, $paramFactory, $marketFilterFactory);
35
    }
36
}
37