Skip to content

Instantly share code, notes, and snippets.

@tfbenrowe
Last active May 16, 2017 09:09
Show Gist options
  • Select an option

  • Save tfbenrowe/df4ead34f74dee115f27979a56025166 to your computer and use it in GitHub Desktop.

Select an option

Save tfbenrowe/df4ead34f74dee115f27979a56025166 to your computer and use it in GitHub Desktop.
phpstorm templates
/**
* Class ${NAME}
*
#if (${NAMESPACE}) * @package ${NAMESPACE}
#end
*/
<?php
#parse("PHP File Header.php")
#if (${NAMESPACE})
namespace ${NAMESPACE};
#end
class ${NAME}
{
}
<?php
#parse("PHP File Header.php")
#if (${NAMESPACE})
namespace ${NAMESPACE};
#end
interface ${NAME}
{
}
<?php
#parse("PHP File Header.php")
#if (${NAMESPACE})
namespace ${NAMESPACE};
#end
trait ${NAME}
{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment