Should have explained it better getRequest() contains the request from the browser and it will have the cookies in it that is why we use getRequest when we check if a cookie exist. getResponse() is used when we want to set a cookie
Become a patron - / doingiteasychannel
Take a look at my blog - http://yii-02.blogspot.com/
Follow me on Twitter @Uthpala_419
Nesta página do site você pode assistir ao vídeo on-line Yii2 Lesson - 49 Setting and Getting Cookies duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Uthpala Heenatigala 13 Novembro 2015, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 10,679 vezes e gostou 49 espectadores. Boa visualização!