Wall   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 20
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A isWalkable() 0 3 1
A __construct() 0 5 1
1
<?php
2
3
namespace GGGGino\WarehousePath\Entity;
4
5
/**
6
 * Class Wall
7
 * @package GGGGino\WarehousePath\Entity
8
 */
9
class Wall extends PlaceType
10
{
11
    /**
12
     * @inheritdoc
13
     */
14
    public function __construct($name = "")
15
    {
16
        $this->originalWeight = 100;
17
18
        parent::__construct($name);
19
    }
20
21
    /**
22
     * Describe if the place will be walkable or not
23
     *
24
     * @return boolean
25
     */
26
    public function isWalkable()
27
    {
28
        return false;
29
    }
30
}