GroupManager   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
namespace Finder\Contracts\Spider;
3
4
use Finder\Spider\Traits\GroupManagerTrait;
5
use Support\Helps\DebugHelper;
6
7
/**
8
 * Outputs events information to the console.
9
 *
10
 * @see TriggerableInterface
11
 */
12
abstract class GroupManager
13
{
14
    use GroupManagerTrait;
15
16
    public function __construct($group)
17
    {
18
        $this->setGroup($group);
19
        DebugHelper::debug('Group Manager'.$this->getFile());
0 ignored issues
show
Bug introduced by
The method getFile() does not seem to exist on object<Finder\Contracts\Spider\GroupManager>.

This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.

This is most likely a typographical error or the method has been renamed.

Loading history...
20
        $this->run();
21
    }
22
}
23