Vildulv
9/8/2016 - 11:56 AM

objectManager

$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
//For example
$scopeConfig = $objectManager->create('\Magento\Framework\App\Config\ScopeConfigInterface');