EntityFactory   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 14
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A create() 0 3 1
1
<?php
2
3
namespace WebComplete\core\factory;
4
5
abstract class EntityFactory extends AbstractFactory
6
{
7
8
    /**
9
     * @var string
10
     */
11
    protected $objectClass;
12
13
    /**
14
     * @return object
15
     */
16
    public function create()
17
    {
18
        return $this->make($this->objectClass);
19
    }
20
}
21