-
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
b2b1e89
commit cb0be09
Showing
14 changed files
with
98 additions
and
2 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[ | ||
Event::createClassListener(${1:listener}) | ||
]]></content> | ||
<tabTrigger>Event::createClassListener</tabTrigger> | ||
<scope>source.php, source.html</scope> | ||
<description>Create a class based listener using the IoC container.</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[ | ||
Event::fire(${1:event}, ${2:payload}, ${3:halt}); | ||
]]></content> | ||
<tabTrigger>Event::fire</tabTrigger> | ||
<scope>source.php, source.html</scope> | ||
<description>Fire an event and call the listeners.</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[ | ||
Event::firing() | ||
]]></content> | ||
<tabTrigger>Event::firing</tabTrigger> | ||
<scope>source.php, source.html</scope> | ||
<description>Get the event that is currently firing.</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[ | ||
Event::flush(${1:event}); | ||
]]></content> | ||
<tabTrigger>Event::flush</tabTrigger> | ||
<scope>source.php, source.html</scope> | ||
<description>Flush a set of pushed events.</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[ | ||
Event::forget(${1:event}); | ||
]]></content> | ||
<tabTrigger>Event::forget</tabTrigger> | ||
<scope>source.php, source.html</scope> | ||
<description>Remove a set of listeners from the dispatcher.</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[ | ||
Event::getListeners(${1:eventName}); | ||
]]></content> | ||
<tabTrigger>Event::getListeners</tabTrigger> | ||
<scope>source.php, source.html</scope> | ||
<description>Get all of the listeners for a given event name.</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[ | ||
Event::hasListeners(${1:eventName}); | ||
]]></content> | ||
<tabTrigger>Event::hasListeners</tabTrigger> | ||
<scope>source.php, source.html</scope> | ||
<description>Determine if a given event has listeners.</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[ | ||
Event::listen(${1:events}, ${2:listener}, ${3:priority}); | ||
]]></content> | ||
<tabTrigger>Event::listen</tabTrigger> | ||
<scope>source.php, source.html</scope> | ||
<description>Register an event listener with the dispatcher.</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[ | ||
Event::makeListener(${1:listener}); | ||
]]></content> | ||
<tabTrigger>Event::makeListener</tabTrigger> | ||
<scope>source.php, source.html</scope> | ||
<description>Register an event listener with the dispatcher.</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[ | ||
Event::push(${1:event}, ${2:payload}); | ||
]]></content> | ||
<tabTrigger>Event::push</tabTrigger> | ||
<scope>source.php, source.html</scope> | ||
<description>Register an event and payload to be fired later.</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[ | ||
Event::subscribe(${1:subscriber}); | ||
]]></content> | ||
<tabTrigger>Event::subscribe</tabTrigger> | ||
<scope>source.php, source.html</scope> | ||
<description>Register an event subscriber with the dispatcher.</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[ | ||
Event::until(${1:event}, ${2:payload}) | ||
]]></content> | ||
<tabTrigger>Event::until</tabTrigger> | ||
<scope>source.php, source.html</scope> | ||
<description>Fire an event until the first non-null response is returned.</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
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