Completed
Push — master ( 23ac12...d30385 )
by Stanislav
07:39
created

RobotsManager   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 4 1
1
<?php
2
namespace DJStarCOM\RobotsManager\Facades;
3
4
use Illuminate\Support\Facades\Facade;
5
6
/**
7
 * Class RobotsManagerFacade
8
 *
9
 * @package DJStarCOM\RobotsManager
10
 * @method static string|null generate()
11
 * @method static void addSitemap(string $sitemap)
12
 * @method static void addLine(string $line)
13
 * @method static void addUserAgent(string $userAgent)
14
 * @method static void addHost(string $host)
15
 * @method static void addDisallow($directories)
16
 * @method static void addRuleLine($directories, string $rule)
17
 * @method static void addAllow($directories)
18
 * @method static void addComment(string $comment)
19
 * @method static void addSpacer()
20
 * @method static void reset()
21
 */
22
class RobotsManager extends Facade
23
{
24
    /**
25
     * Get the registered name of the component.
26
     *
27
     * @return string
28
     */
29
    protected static function getFacadeAccessor(): string
30
    {
31
        return \DJStarCOM\RobotsManager\RobotsManager::class;
32
    }
33
}
34