| Total Complexity | 8 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 4 | class Entity { |
||
| 5 | //Creates an object of type $className and populates it with data |
||
| 6 | |||
| 7 | private $className; |
||
| 8 | private $parent; |
||
| 9 | |||
| 10 | public function __construct(\Maphper\Maphper $parent, $className = null) { |
||
|
|
|||
| 11 | $this->className = $className; |
||
| 12 | } |
||
| 13 | |||
| 14 | public function create($data = [], $relations = [], $siblings = []) { |
||
| 19 | } |
||
| 20 | |||
| 21 | public function wrap($relations, $object, $siblings = []) { |
||
| 32 | } |
||
| 33 | } |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.