Completed
Push — master ( 79c04e...cd88c2 )
by Greg
03:02
created

AbstractClassDiscovery   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A setSearchPattern() 0 6 1
1
<?php
2
3
namespace Robo\ClassDiscovery;
4
5
/**
6
 * Class AbstractClassDiscovery
7
 *
8
 * @package Robo\ClassDiscovery
9
 */
10
abstract class AbstractClassDiscovery implements ClassDiscoveryInterface
11
{
12
    /**
13
     * @var string
14
     */
15
    protected $searchPattern = '*.php';
16
17
    /**
18
     * {@inheritdoc}
19
     */
20
    public function setSearchPattern($searchPattern)
21
    {
22
        $this->searchPattern = $searchPattern;
23
24
        return $this;
25
    }
26
}
27