public function setSlotName($slotName)
    {
        if (!is_string($slotName)) {
            throw new \InvalidArgumentException(sprintf('The slot name passed to "%s" must be a string', get_class($this)));
        }        
        $this->slotName = $slotName;
        
        return $this;
    }
public function setSlotName($slotName)
    {
        if (!is_string($slotName)) {
            throw new \InvalidArgumentException(sprintf('The slot name passed to "%s" must be a string', get_class($this)));
        }        
        $this->slotName = $slotName;
        
        return $this;
    }
public function setSlotName ( $ slotName ) { if ( ! is_string ( $ slotName ) ) { throw new \ InvalidArgumentException ( sprintf ( 'The slot name passed to "%s" must be a string' , get_class ( $ this ) ) ) ; } $ this -> slotName = $ slotName ; return $ this ; }
Sets the name of the slot

@return \AlphaLemon\ThemeEngineBundle\Core\Rendering\SlotContent\AlSlotContent
Sets the name of the slot