-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cb0be09
commit 1d3a2cf
Showing
3 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
config('${1:key}', '${2:default}'); | ||
]]></content> | ||
<tabTrigger>Config::get</tabTrigger> | ||
<scope>source.php, source.html</scope> | ||
<description>Get the specified configuration value.</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
Config::has(${1:key}) | ||
]]></content> | ||
<tabTrigger>Config::has</tabTrigger> | ||
<scope>source.php, source.html</scope> | ||
<description>Determine if the given configuration value exists.</description> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
config(['${1:key}' => '${2:value}']); | ||
]]></content> | ||
<tabTrigger>Config::set</tabTrigger> | ||
<scope>source.php, source.html</scope> | ||
<description>Set a given configuration value.</description> | ||
</snippet> |