Gets/sets the Cookie Name.

@param  string $name A name.
@return string       Returns the name.
967077
public function name($name = null)
    {
        if (func_num_args() === 0) {
            return $this->_data['name'];
        }
        $name = (string) $name;
        return $this->_data['name'] = $name;
    }
220543
public function del($name)
    {
        $name = $this->prefix . $name;
        return setcookie($name, '', 1, $this->path, $this->domain, $this->secure, $this->httpOnly);
    }
1260014
public function get($name)
    {
        return isset($this->cookies[$name]) ? $this->cookies[$name] : null;
    }
950932
public function get($name)
    {
        if (!is_string($name)) {
            throw new Cookie\Exception('The cookie name must be string');
        }

        if (isset($this->cookies[$name])) {
            $this->cookies[$name]->useEncryption($this->isUsingEncryption());

            return $this->cookies[$name];
        }

        return null;
    }
520815
public function getValue($name)
    {
        $cookie = $this->get($name);

        return null === $cookie ? null : $cookie->getValue();
    }
236582
protected function getOriginalName($name)
    {
        foreach (array_keys($this->headers) as $key) {
            if (strtolower($key) === strtolower($name)) {
                return $key;
            }
        }

        return false;
    }
1288451
public function name($name = null)
    {
        if ($name !== null) {
            if (preg_match("/[=,; \t\r\n\013\014]/", $name)) {
                throw new \InvalidArgumentException(sprintf('Cookie name "%s" contains invalid characters', $name));
            }

            if (empty($name)) {
                throw new \InvalidArgumentException('Cookie name cannot be empty');
            }

            $this->name = $name;
        }

        return $this->name;
    }
371082
public function getMappingName($name)
    {
        return isset($this->mapping[$name]) ? $this->mapping[$name] : $name;
    }
273792
public function get($name)
    {
        $key = mb_strtolower($name);
        foreach ($this->cookies as $cookie) {
            if (mb_strtolower($cookie->getName()) === $key) {
                return $cookie;
            }
        }

        return null;
    }
1254826
public function getCookie($name = '')
    {
        if (isset(CookieContainer::getCookies()[$name])) {
            return CookieContainer::getCookies()[$name];
        } else {
            return false;
        }
    }
986318
public function get(string $name): ?\BearFramework\App\Response\Cookie
    {
        if (isset($this->data[$name])) {
            return clone($this->data[$name]);
        }
        return null;
    }
240973
protected function getRealChildName(string $name): string
    {
        if ($this->appliesTo($name) === true) {
            return self::getChildName($name, $this->name);
        }

        return $name;
    }
1057191
public function get($name) {
        if (isset($this->_deleted_cookies[$name])) {
            return null;
        }

        if (\array_key_exists($name, $this->_cookies)) {
            return $this->_cookies[$name];
        }

        $value = isset($_COOKIE[$name]) ? $_COOKIE[$name] : null;
        $this->_cookies[$name] = $value;

        return $value;
    }
541072
public function prepareName($name)
    {
        $name = empty($name) ? 'index' : $name;
        $name = strtolower($name);
        $name = str_replace(['-', '_'], ' ', $name);
        $name = ucwords($name);
        $name = str_replace(' ', '', $name);
        
        return $name;
    }
5383
public function get($name)
    {
        $cookies = $this->getAll();

        foreach ($cookies as $cookie) {
            if ($cookie->getName() == $name) {
                return $cookie;
            }
        }

        return null;
    }
1123969
public function getCookieValue(string $name): ?string
    {
        $cookie = $this->cookies->get($name);

        return $cookie !== null ? $cookie->getValue() : null;
    }
968612
public function getCookie($name)
    {

        $filter = $default = '';

        $cookie = $this->getVar($name, $filter, $default, "cookies");

        //@TODO cookie before return
        return empty($cookie) ? false : $cookie;
    }