Created
January 15, 2023 17:41
-
-
Save aleduca/3a8c94d9dabab5f8337b9ab835cef02a to your computer and use it in GitHub Desktop.
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[ | |
declare(strict_types=1); | |
namespace App${TM_FILEPATH/(?:.*app)|(\/)([^\/]+)(?=\/)|(?:\/[^\/]+\.php$)/(?1:\\$^N:$^N)/g}; | |
class ${1:${TM_FILENAME/(.+)\..+|.*/$1/:name}} | |
{ | |
} | |
]]></content> | |
<tabTrigger>clp</tabTrigger> | |
<description>make-class-with-name</description> | |
<scope>embedding.php</scope> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment