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
In questa pagina del sito puoi guardare il video online Yii2 Lesson - 49 Setting and Getting Cookies della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Uthpala Heenatigala 13 novembre 2015, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 10,689 volte e gli è piaciuto 49 spettatori. Buona visione!