Skip to content

Instantly share code, notes, and snippets.

@kevinzie
Created February 10, 2018 17:04
Show Gist options
  • Save kevinzie/8dba5b3f3b55f10a27ee1a83183e86bb to your computer and use it in GitHub Desktop.
Save kevinzie/8dba5b3f3b55f10a27ee1a83183e86bb to your computer and use it in GitHub Desktop.
<?php
$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$loggerModel = $objectManager->create('Vodex\Logger\Model\Logger');
$loggerModel->setData($options);
$loggerModel->save();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment