Calling $_SERVER directly to that variable is not recommended, so how do we call that variable in Magento 2? Magento 2 has class of \Magento\Framework\App\RequestInterface, and in order to call $_SERVER, we need to use this class. Implementing this c...
Magento 2 Developer
I wrote these tutorials for myself in future when I forget for the next steps.
Markdown supported · ⌘↵ to post
No responses yet.