Last active
August 2, 2016 15:08
-
-
Save Zlatov/f08699930fa48e7103c2e445dcbaa3f8 to your computer and use it in GitHub Desktop.
yiiSessionOpen.sublime-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
<snippet> | |
<content><![CDATA[ | |
\$session = Yii::\$app->session; | |
if (!\$session->isActive) { | |
\$session->open(); | |
} | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>yiiSessionOpen</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>source.python</scope> --> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment