FlattenedIdModel
This class works around a limitation in PHPStan. Ideally, we'd just have a function that accepted ($block, $id, $properties) all together and just have the template type inferred from $block alone. However, there's no way to tell PHPStan to ignore $properties for inference, so we're stuck with this hack.
Methods
create()
php
public static function create(\pocketmine\block\Block $block) : selfgetBlock()
php
public function getBlock() : \pocketmine\block\BlockgetIdComponents()
php
public function getIdComponents() : arraygetProperties()
php
public function getProperties() : arrayidComponents()
php
public function idComponents(array $components) : selfproperties()
php
public function properties(array $properties) : self