public function getSlot($slotIdentifier) { if (!isset($this->slots[$slotIdentifier])) { throw new NotFoundException('slot', $slotIdentifier); } return $this->slots[$slotIdentifier]; }