常用方法
常用方法
常用方法
常用方法
public function execute(\Magento\Framework\Event\Observer $observer) { $post = $observer->getPost(); $this->logger->debug('Blog viewed: ' . $post->getId()); }
public function execute(\Magento\Framework\Event\Observer $observer) { $post = $observer->getPost(); $this->logger->debug('Blog viewed: ' . $post->getId()); }