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

AbstractClassDiscovery::setSearchPattern()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 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