File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,16 @@ Symfony2 plugin for Padawan.php
44Adds services' names completion and type detection after
55` Symfony\Components\DependencyInjection\Container::get ` and ` Controller::get ` .
66
7+ # Demo
8+
9+ [ ![ ScreenShot] ( http://i1.ytimg.com/vi/HTEExr9xCH4/maxresdefault.jpg )] ( https://www.youtube.com/watch?v=HTEExr9xCH4 )
10+
711# Installation
812
913Plugin name is ` mkusher/padawan-symfony ` , so you should call ` plugin add ` with
1014this name.
15+
16+ # Running
17+
18+ As of now, the only way to update services map is to ` Generate Index ` . After it
19+ you'll be able to get services list and types detection.
Original file line number Diff line number Diff line change @@ -79,9 +79,7 @@ protected function checkForContainerClass($fqcn, $index)
7979 if (!$ fqcn instanceof FQCN ) {
8080 return false ;
8181 }
82- if (in_array ($ fqcn ->toString (), $ this ->containerNames )
83- && $ workingNode ->name === 'get '
84- ) {
82+ if (in_array ($ fqcn ->toString (), $ this ->containerNames )) {
8583 return true ;
8684 }
8785 $ class = $ index ->findClassByFQCN ($ fqcn );
You can’t perform that action at this time.
0 commit comments