pocketmine\block\DoubleSlab::getName PHP Method

getName() public method

public getName ( ) : string
return string
    public function getName() : string
    {
        static $names = [0 => "Stone", 1 => "Sandstone", 2 => "Wooden", 3 => "Cobblestone", 4 => "Brick", 5 => "Stone Brick", 6 => "Quartz", 7 => "Nether Brick"];
        return "Double " . $names[$this->meta & 0x7] . " Slab";
    }