Sorien / silex-idea-plugin

Idea plugin for Silex Framework - plugin is not compatible with PHPStorm 2016.2
MIT License
26 stars 8 forks source link

Pimple as a class variable doesn't resolve #6

Closed CarsonF closed 9 years ago

CarsonF commented 9 years ago
class Foo
{
    /** @var \Silex\Application */
    protected $app;

    public function bar()
    {
        // No joy
        $session = $this->app['session'];
    }
}
Sorien commented 9 years ago

good news is that it can be done :) ... bad news it will need lot of rewrites...

I'll try in next few days

CarsonF commented 9 years ago

Awesome! :beer:

CarsonF commented 9 years ago

I'll test when you make a build :)

Sorien commented 9 years ago

here you go 0.9.5 www.sorien.sk/silex-plugin.zip

CarsonF commented 9 years ago

Beautiful! Works great!