From 2464b5c7e1dabc0a143c061f90c1902f6fb2d76c Mon Sep 17 00:00:00 2001 From: Matthieu Napoli Date: Wed, 24 Jun 2015 17:32:52 +0200 Subject: [PATCH] Add support for auto-completion when using the container thanks to the latest PhpStorm beta See https://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Advanced+Metadata For example: ``` $logger = StaticContainer::get('Psr\Log\LoggerInterface'); $logger-> ``` The autocompletion would work based on the argument passed to `StaticContainer::get()`. (cherry picked from commit 92960ac) --- .phpstorm.meta.php | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .phpstorm.meta.php diff --git a/.phpstorm.meta.php b/.phpstorm.meta.php new file mode 100644 index 00000000000..19b96d5d6a4 --- /dev/null +++ b/.phpstorm.meta.php @@ -0,0 +1,10 @@ + [ + "" == "@", + ], + ); +}