The Extract Method refactoring is incredibly powerful when cleaning up and
organizing legacy code or simply getting a handle on some of your own
methods that are too large.
Key mappings
OSX:
- Command + Alt + M
Win/Linux:
- Ctrl + Alt + M
Docs
Extract Method (https://www.jetbrains.com/phpstorm/help/extract-method.html)
Questions/Comments/Suggestions
@PhpStormBriefs (https://twitter.com/phpstormbriefs)