add simple docblocks for class methods
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
This commit is contained in:
parent
6dde955798
commit
faec22c56d
@ -145,49 +145,79 @@ $0
|
||||
endsnippet
|
||||
|
||||
snippet pub "Public function" b
|
||||
/**
|
||||
* ${3:undocumented function}
|
||||
*
|
||||
* @return ${4:void}
|
||||
*/
|
||||
public function ${1:name}(${2:$param})
|
||||
{
|
||||
${VISUAL}${3:return null;}
|
||||
${VISUAL}${5:return null;}
|
||||
}
|
||||
$0
|
||||
endsnippet
|
||||
|
||||
snippet pro "Protected function" b
|
||||
/**
|
||||
* ${3:undocumented function}
|
||||
*
|
||||
* @return ${4:void}
|
||||
*/
|
||||
protected function ${1:name}(${2:$param})
|
||||
{
|
||||
${VISUAL}${3:return null;}
|
||||
${VISUAL}${5:return null;}
|
||||
}
|
||||
$0
|
||||
endsnippet
|
||||
|
||||
snippet pri "Private function" b
|
||||
/**
|
||||
* ${3:undocumented function}
|
||||
*
|
||||
* @return ${4:void}
|
||||
*/
|
||||
private function ${1:name}(${2:$param})
|
||||
{
|
||||
${VISUAL}${3:return null;}
|
||||
${VISUAL}${5:return null;}
|
||||
}
|
||||
$0
|
||||
endsnippet
|
||||
|
||||
snippet pubs "Public static function" b
|
||||
/**
|
||||
* ${3:undocumented function}
|
||||
*
|
||||
* @return ${4:void}
|
||||
*/
|
||||
public static function ${1:name}(${2:$param})
|
||||
{
|
||||
${VISUAL}${3:return null;}
|
||||
${VISUAL}${5:return null;}
|
||||
}
|
||||
$0
|
||||
endsnippet
|
||||
|
||||
snippet pros "Protected static function" b
|
||||
/**
|
||||
* ${3:undocumented function}
|
||||
*
|
||||
* @return ${4:void}
|
||||
*/
|
||||
protected static function ${1:name}(${2:$param})
|
||||
{
|
||||
${VISUAL}${3:return null;}
|
||||
${VISUAL}${5:return null;}
|
||||
}
|
||||
$0
|
||||
endsnippet
|
||||
|
||||
snippet pris "Private static function" b
|
||||
/**
|
||||
* ${3:undocumented function}
|
||||
*
|
||||
* @return ${4:void}
|
||||
*/
|
||||
private static function ${1:name}(${2:$param})
|
||||
{
|
||||
${VISUAL}${3:return null;}
|
||||
${VISUAL}${5:return null;}
|
||||
}
|
||||
$0
|
||||
endsnippet
|
||||
|
Loading…
x
Reference in New Issue
Block a user