CorridorNoForklift   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 __construct() 0 5 1
A isWalkable() 0 3 1
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
}