php snippet
This commit is contained in:
parent
04c8f4f961
commit
52c60ae71d
|
@ -316,3 +316,28 @@ snippet ind "inheritdoc comment" b
|
|||
* {@inheritdoc}
|
||||
*/
|
||||
endsnippet
|
||||
|
||||
snippet prop "Class attribute/property" b
|
||||
/**
|
||||
* @var $2
|
||||
*/
|
||||
protected \$$1;
|
||||
|
||||
$3
|
||||
endsnippet
|
||||
|
||||
snippet class "Class" b
|
||||
<?php
|
||||
|
||||
`!p snip.rv = os.popen('/home/simon/bin/namespace ' + path).readline().strip()`
|
||||
|
||||
/**
|
||||
* class $1.
|
||||
*
|
||||
* @author `!v g:snips_author`
|
||||
*/
|
||||
class $1
|
||||
{
|
||||
$2
|
||||
}
|
||||
endsnippet
|
||||
|
|
Loading…
Reference in New Issue