src/Request/AlexaRequest.php
public function slot($slotKey, $default = null)
    {
        if (!$this->processed) {
            $this->process();
        }

        $key_exists = (array_key_exists($slotKey, $this->slots));

        if (!$key_exists) {
            return $default;
        }

        return (array_key_exists('value', $this->slots[$slotKey])) ? $this->slots[$slotKey]['value'] : $default;
    }
public function slot($slotKey, $default = null)
    {
        if (!$this->processed) {
            $this->process();
        }

        $key_exists = (array_key_exists($slotKey, $this->slots));

        if (!$key_exists) {
            return $default;
        }

        return (array_key_exists('value', $this->slots[$slotKey])) ? $this->slots[$slotKey]['value'] : $default;
    }
@param string     $slotKey
@param mixed|null $default

@return mixed|null