Passed
Pull Request — master (#3233)
by Sergey
12:25
created

AbstractVisitor::acceptView()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
eloc 0
dl 0
loc 2
rs 10
c 0
b 0
f 0
ccs 0
cts 1
cp 0
cc 1
nc 1
nop 1
crap 2
1
<?php
2
3
namespace Doctrine\DBAL\Schema\Visitor;
4
5
use Doctrine\DBAL\Schema\Column;
6
use Doctrine\DBAL\Schema\ForeignKeyConstraint;
7
use Doctrine\DBAL\Schema\Index;
8
use Doctrine\DBAL\Schema\Schema;
9
use Doctrine\DBAL\Schema\Sequence;
10
use Doctrine\DBAL\Schema\Table;
11
use Doctrine\DBAL\Schema\View;
12
13
/**
14
 * Abstract Visitor with empty methods for easy extension.
15
 */
16
class AbstractVisitor implements Visitor, NamespaceVisitor, ViewVisitor
17
{
18 238
    public function acceptSchema(Schema $schema)
19
    {
20 238
    }
21
22
    /**
23
     * {@inheritdoc}
24
     */
25 57
    public function acceptNamespace($namespaceName)
26
    {
27 57
    }
28
29
    public function acceptTable(Table $table)
30
    {
31
    }
32
33 238
    public function acceptColumn(Table $table, Column $column)
34
    {
35 238
    }
36
37
    public function acceptForeignKey(Table $localTable, ForeignKeyConstraint $fkConstraint)
38
    {
39
    }
40
41 165
    public function acceptIndex(Table $table, Index $index)
42
    {
43 165
    }
44
45
    public function acceptSequence(Sequence $sequence)
46
    {
47
    }
48
49
    public function acceptView(View $view)
50
    {
51
    }
52
}
53