public function getMetadata($metadataKey) { if ($this->getLevel() instanceof Level) { return $this->getLevel()->getBlockMetadata()->getMetadata($this, $metadataKey); } return null; }