new Snippet()
Creates a new snippet
new Snippet(?string $file, array $data = [ ])
Parameters
| Name | Type | Default |
|---|---|---|
| $file * | string|null |
– |
| $data | array |
[ ] |
Creates a new snippet
new Snippet(?string $file, array $data = [ ])
| Name | Type | Default |
|---|---|---|
| $file * | string|null |
– |
| $data | array |
[ ] |