Wall::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 5
rs 10
c 0
b 0
f 0
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
}