Last active
November 25, 2015 16:21
-
-
Save AntonioCS/d930effaf744e8ee7c72 to your computer and use it in GitHub Desktop.
Netbeans Template for PHP Class
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
<#assign licenseFirst = "/* "> | |
<#assign licensePrefix = " * "> | |
<#assign licenseLast = " */"> | |
<#include "${project.licensePath}"> | |
<#if namespace?? && namespace?length > 0> | |
<#assign strings = namespace?split("\\")> | |
<#assign package = strings[0]> | |
<#assign category = namespace?substring(namespace?index_of("\\") + 1)> | |
namespace ${namespace}; | |
<#else> | |
<#assign package=""> | |
<#assign category=""> | |
</#if> | |
/** | |
* Description of ${name} | |
* | |
* @category ${category} | |
* @package ${package} | |
* @author ${user} | |
*/ | |
class ${name} { | |
public function __construct() { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment