Skip to content

Instantly share code, notes, and snippets.

@PrestaEdit
Created August 11, 2015 20:31
Show Gist options
  • Save PrestaEdit/c694b70eccfbfb315786 to your computer and use it in GitHub Desktop.
Save PrestaEdit/c694b70eccfbfb315786 to your computer and use it in GitHub Desktop.
Parser workflow
1. Folder like that:
-- Folder
--- Classes
--- FirstClass.php
--- SecondClass.php
2. A PHP file for do that:
-- Check folder Classes
--- See two .php file
---- "preg_match" all string related to a regexp (Like "doIt('[A-Z]')" for doIt('aString') or doIt('anotherString'))
----- Give an export of that (array, plain text, another, ...).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment