Magento 2 - How to Call Global Variable $_SERVER
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...
fiko.me1 min read