Completed
Push — master ( 8fe865 )
by Dmitry
04:10
created

Plugin::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
namespace Tarantool\Mapper;
4
5
abstract class Plugin
6
{
7
    protected $mapper;
8
9
    public function __construct(Mapper $mapper)
10
    {
11
        $this->mapper = $mapper;
12
    }
13
14
    public function getRepositoryClass(Space $space) {}
15
    public function getEntityClass(Space $space) {}
16
    public function beforeCreate(Entity $instance, Space $space) {}
17
}