Guest User

Untitled

a guest
Nov 24th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. {
  2. "Class": {
  3. "prefix": "class",
  4. "body": [
  5. "namespace ${1};"
  6. "",
  7. "class ${TM_FILENAME_BASE}${2: extends Foo}${3: implements Bar}",
  8. "{",
  9. " ${4}",
  10. "}"
  11. ],
  12. "description": ""
  13. },
  14. "Create new model from factory": {
  15. "prefix": "fcreate",
  16. "body": [
  17. "factory(${1:Foo}::class${2:, 10})->create()"
  18. ],
  19. "description": ""
  20. },
  21. "Interface": {
  22. "prefix": "inter",
  23. "body": [
  24. "namespace ${1};"
  25. "",
  26. "interface ${TM_FILENAME_BASE}",
  27. "{",
  28. " ${2}",
  29. "}"
  30. ],
  31. "description": ""
  32. },
  33. "Method": {
  34. "prefix": "met",
  35. "body": [
  36. "${1:public} function ${2:foo}(${3:})${4: : bar}",
  37. "{",
  38. " ${5}",
  39. "}"
  40. ],
  41. "description": ""
  42. },
  43. "Make new model from factory": {
  44. "prefix": "fmake",
  45. "body": [
  46. "factory(${1:Foo}::class${2:, 10})->make()"
  47. ],
  48. "description": ""
  49. },
  50. "Trait": {
  51. "prefix": "trait",
  52. "body": [
  53. "namespace ${1};"
  54. "",
  55. "trait ${TM_FILENAME_BASE}",
  56. "{",
  57. " ${2}",
  58. "}"
  59. ],
  60. "description": ""
  61. }
  62. }
Add Comment
Please, Sign In to add comment