Completed
Pull Request — master (#233)
by Sergey
02:36
created

EntityProvider   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 1
Bugs 1 Features 0
Metric Value
wmc 2
lcom 1
cbo 1
dl 0
loc 10
rs 10
c 1
b 1
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getEntityIdName() 0 4 2
1
<?php
2
3
namespace seregazhuk\PinterestBot\Api\Providers;
4
5
class EntityProvider extends Provider
6
{
7
    /**
8
     * @return string
9
     */
10
    public function getEntityIdName()
11
    {
12
        return property_exists($this, 'entityIdName') ? $this->entityIdName : '';
13
    }
14
}