public function setMetadata($metadataKey, MetadataValue $metadataValue) { if ($this->getLevel() instanceof Level) { $this->getLevel()->getBlockMetadata()->setMetadata($this, $metadataKey, $metadataValue); } }