src/ResourcePacks/AgeOfEmpires.php
public function isPalisadeGateUnit($id)
    {
        return $id === Unit::PALISADE_GATE
            || $id === Unit::PALISADE_GATE2
            || $id === Unit::PALISADE_GATE3
            || $id === Unit::PALISADE_GATE4;
    }
public function isPalisadeGateUnit($id)
    {
        return $id === Unit::PALISADE_GATE
            || $id === Unit::PALISADE_GATE2
            || $id === Unit::PALISADE_GATE3
            || $id === Unit::PALISADE_GATE4;
    }
public function isPalisadeGateUnit ( $ id ) { return $ id === Unit :: PALISADE_GATE || $ id === Unit :: PALISADE_GATE2 || $ id === Unit :: PALISADE_GATE3 || $ id === Unit :: PALISADE_GATE4 ; }
Checks whether a unit type ID is a Palisade Gate unit.

@param int  $id  Unit type ID.
@return bool True if the unit type is a palisade gate, false otherwise.
Checks whether a unit type ID is a Palisade Gate unit .