How to create a reusable code template in PHPStorm
JetBrains actually calls these Live Templates. They allow you to quickly insert a code template for any language and get prompted for filling optional variable names. The snippet is then bound to an abbreviation of your choice. There’s so many…