Client::getValidActions()   A
last analyzed

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 CloudyCity\TencentMarketingSDK\Advertiser\Fund;
4
5
use CloudyCity\TencentMarketingSDK\Kernel\BaseClient;
6
use CloudyCity\TencentMarketingSDK\Resources;
7
8
class Client extends BaseClient
9
{
10
    protected $resource = Resources::FUNDS;
11
12
    protected $fields = ['fund_type', 'balance', 'fund_status', 'realtime_cost'];
13
14
    /**
15
     * Get all valid actions for resource.
16
     *
17
     * @return array
18
     */
19
    public function getValidActions()
20
    {
21
        return ['get'];
22
    }
23
}
24