AbstractTableValidator   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A setTable() 0 6 1
1
<?php
2
/**
3
 * @author stev leibelt <[email protected]>
4
 * @since 2013-08-12 
5
 */
6
7
namespace Example\Validator;
8
9
use Net\Bazzline\Component\Requirement\AbstractItem;
10
11
/**
12
 * Class AbstractTableValidator
13
 *
14
 * @package Example\Validator
15
 * @author stev leibelt <[email protected]>
16
 * @since 2013-08-12
17
 */
18
abstract class AbstractTableValidator extends AbstractItem
19
{
20
    /**
21
     * @var Table
22
     * @author stev leibelt <[email protected]>
23
     * @since 2013-08-12
24
     */
25
    protected $table;
26
27
    /**
28
     * @param Table $table
29
     * @return $this
30
     * @author stev leibelt <[email protected]>
31
     * @since 2013-08-12
32
     */
33
    public function setTable(Table $table)
34
    {
35
        $this->table = $table;
36
37
        return $this;
38
    }
39
}