Skip to content

Instantly share code, notes, and snippets.

@pstuifzand
Created November 15, 2016 20:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pstuifzand/e94b9dc3969e383743f5c485a8a308a6 to your computer and use it in GitHub Desktop.
Save pstuifzand/e94b9dc3969e383743f5c485a8a308a6 to your computer and use it in GitHub Desktop.
Projections for Magento
{
"Model/*.php": { "type": "model" },
"Model/Resource/*.php": { "type": "resource" },
"Block/*.php": { "type": "block" },
"Helper/*.php": {
"type": "helper",
"template": [
"<?php",
"",
"class extends Mage_Core_Helper_Abstract",
"{",
"}"
]
},
"controllers/*.php|Controller/*.php": { "type": "controller" },
"etc/config.xml": { "type": "config" },
"etc/system.xml": { "type": "system" },
"etc/adminhtml.xml": { "type": "adminhtml" },
"sql/*.php": {
"type": "sql",
"template": [
"<?php",
"",
"$installer = $this;",
"$installer->startSetup();",
"",
"$installer->endSetup();"
]
},
"data/*.php": { "type": "data" }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment