CorridorNoForklift::isWalkable()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace GGGGino\WarehousePath\Entity;
4
5
/**
6
 * No very used but will be useful or future development.
7
 * Now Used for tosting
8
 *
9
 * Class CorridorNoForklift
10
 * @package GGGGino\WarehousePath\Entity
11
 */
12
class CorridorNoForklift extends PlaceType
13
{
14
    /**
15
     * @inheritdoc
16
     */
17
    public function __construct($name = "")
18
    {
19
        $this->originalWeight = 5;
20
21
        parent::__construct($name);
22
    }
23
24
    /**
25
     * Describe if the place will be walkable or not
26
     *
27
     * @return boolean
28
     */
29
    public function isWalkable()
30
    {
31
        return true;
32
    }
33
}