Imgur::getFacadeAccessor()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace Luilliarcec\LaravelImgur\Facades;
4
5
use Illuminate\Http\UploadedFile;
6
use Illuminate\Support\Facades\Facade;
7
use Luilliarcec\LaravelImgur\Exceptions\InvalidArgumentException;
8
use Luilliarcec\LaravelImgur\Support\LaravelImgur;
9
10
/**
11
 * @method static void setHeaders(array $headers)
12
 * @method static void setBody(array $headers)
13
 * @method static LaravelImgur|InvalidArgumentException upload(string|UploadedFile $image)
14
 * @method static bool remove(string $hash)
15
 * @method static string|InvalidArgumentException thumbnails(string $url, string $size)
16
 * @method static mixed getResponse()
17
 * @method static mixed getId()
18
 * @method static mixed getLink()
19
 * @method static mixed getDeletehash()
20
 * @method static mixed getType()
21
 * @method static mixed getSize()
22
 * @method static mixed getWidth()
23
 * @method static mixed getHeight()
24
 * @method static mixed getName()
25
 * @see LaravelImgur
26
 */
27
class Imgur extends Facade
28
{
29
    /**
30
     * Get the registered name of the component.
31
     *
32
     * @return string
33
     */
34
    protected static function getFacadeAccessor()
35
    {
36
        return 'LaravelImgur';
37
    }
38
}
39