CloudFront   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 10
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
1
<?php
2
3
namespace Meema\CloudFront\Facades;
4
5
use Illuminate\Support\Facades\Facade;
6
7
/**
8
 * @method static \Aws\CloudFront\CloudFrontClient getClient()
9
 * @method static \Aws\Result invalidate(array|string $paths, string $distributionId = null)
10
 * @method static \Aws\Result reset(string $distributionId = null)
11
 * @method static string getInvalidation(string $invalidationId, string $distributionId = null)
12
 * @method static array listInvalidations(string $distributionId = null)
13
 */
14
class CloudFront extends Facade
15
{
16
    /**
17
     * Get the registered name of the component.
18
     *
19
     * @return string
20
     */
21
    protected static function getFacadeAccessor()
22
    {
23
        return 'cloudfront';
24
    }
25
}
26