When i was creating a file apphandles.php i found several issues but i resolve it but still just go through it. Did i done something wrong here ? Why i am not having the right output ?
use Magento\Customer\Model\Session as CustomerSession;
class AddHandles implements ObserverInterface
public function __construct(CustomerSession $customerSession)
public function execute(\Magento\Framework\Event\Observer $observer)
$layout = $observer->getEvent()->getLayout();
//To check that customer is logout