public function isInPerimeter($item, PerimeterInterface $perimeter)
    {
        if (isset($this->strategies[$perimeter->getType()])) {
            return $this->strategies[$perimeter->getType()]->isInPerimeter($item, $perimeter);
        }

        return false;
    }
public function isInPerimeter($item, PerimeterInterface $perimeter)
    {
        if (isset($this->strategies[$perimeter->getType()])) {
            return $this->strategies[$perimeter->getType()]->isInPerimeter($item, $perimeter);
        }

        return false;
    }
public function isInPerimeter ( $ item , PerimeterInterface $ perimeter ) { if ( isset ( $ this -> strategies [ $ perimeter -> getType ( ) ] ) ) { return $ this -> strategies [ $ perimeter -> getType ( ) ] -> isInPerimeter ( $ item , $ perimeter ) ; } return false ; }
Check if a path is contained in the perimeter

@param string             $item
@param PerimeterInterface $perimeter

@return boolean
Check if a path is contained in the perimeter