-
-
Save frabbit/312594c6a52f372259e2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| class Foo { | |
| using MyModule; | |
| import MyObject; | |
| public static function main () { | |
| import MyObject; | |
| using MyModule2; | |
| import MyStatics.myMethod; | |
| myMethod(4); | |
| } | |
| } | |
| // vs | |
| @:using(MyModule) @:import(MyObject) | |
| class Foo { | |
| public static function main () { | |
| @:import MyObject; | |
| @:using MyModule2; | |
| @:import MyStatics.myMethod; | |
| myMethod(4); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment