AppserverIo\Appserver\ServletEngine\Http\Request::getCookie PHP Méthode

getCookie() public méthode

Returns the value of the cookie with the passed name.
public getCookie ( string $cookieName ) : AppserverIo\Psr\HttpMessage\CookieInterface
$cookieName string The name of the cookie to return
Résultat AppserverIo\Psr\HttpMessage\CookieInterface The cookie instance
    public function getCookie($cookieName)
    {
        return $this->getHttpRequest()->getCookie($cookieName);
    }