Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "Class": {
- "prefix": "class",
- "body": [
- "namespace ${1};"
- "",
- "class ${TM_FILENAME_BASE}${2: extends Foo}${3: implements Bar}",
- "{",
- " ${4}",
- "}"
- ],
- "description": ""
- },
- "Create new model from factory": {
- "prefix": "fcreate",
- "body": [
- "factory(${1:Foo}::class${2:, 10})->create()"
- ],
- "description": ""
- },
- "Interface": {
- "prefix": "inter",
- "body": [
- "namespace ${1};"
- "",
- "interface ${TM_FILENAME_BASE}",
- "{",
- " ${2}",
- "}"
- ],
- "description": ""
- },
- "Method": {
- "prefix": "met",
- "body": [
- "${1:public} function ${2:foo}(${3:})${4: : bar}",
- "{",
- " ${5}",
- "}"
- ],
- "description": ""
- },
- "Make new model from factory": {
- "prefix": "fmake",
- "body": [
- "factory(${1:Foo}::class${2:, 10})->make()"
- ],
- "description": ""
- },
- "Trait": {
- "prefix": "trait",
- "body": [
- "namespace ${1};"
- "",
- "trait ${TM_FILENAME_BASE}",
- "{",
- " ${2}",
- "}"
- ],
- "description": ""
- }
- }
Add Comment
Please, Sign In to add comment