- Scope: PHP
- Abbreviation: prif
private function $NAME$($PARAMETERS$){
$END$
}
- Scope: PHP
- Abbreviation: prifs
private static function $NAME$($PARAMETERS$){
$END$
}
- Scope: PHP
- Abbreviation: prof
protected function $NAME$($PARAMETERS$){
$END$
}
- Scope: PHP
- Abbreviation: profs
protected static function $NAME$($PARAMETERS$){
$END$
}
- Scope: PHP
- Abbreviation: pubf
public function $NAME$($PARAMETERS$){
$END$
}
- Scope: PHP
- Abbreviation: pubfs
public static function $NAME$($PARAMETERS$){
$END$
}
- Scope: PHP
- Abbreviation: thr
throw new $END$
- Scope: PHP
- Abbreviation: todo
// TODO: $END$
- Scope: PHP
- Abbreviation: action
/**
* $ACTIONNAME$ action
*
* @return void
*/
public function $NAME$Action($PARAM$) {
$END$
}
- Scope: PHP
- Abbreviation: inj
/**
* @param $NAMESPACE$ $$$VARIABLE$
* @return void
*/
public function inject$NAME$($NAMESPACE$ $$$VARIABLE$) {
$this->$VARIABLE$ = $$$VARIABLE$;
}
- Scope: PHP
- Abbreviation: injo
/**
* @var ObjectManager
*/
protected $objectManager;
/**
* Injects the ObjectManager
*
* @var \TYPO3\CMS\Extbase\Object\ObjectManager $objectManager
* @return void
*/
public function injectObjectManager(ObjectManager $objectManager) {
$this->objectManager = $objectManager;
}
- Scope: JavaScript
- Abbreviation: v-comp
Vue.component('$NAME$', {
$END$
});
- Scope: HTML
- Abbreviation: v-it
<$NAME$ inline-template>
$END$
</$NAME$>