Following this simple code:
namespace AppBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Response;
class TestController extends Controller
{
/**
* @param $value
* @return Response
*/
public function indexAction($value)
{
return new Response('Hello:' . $value);
}
}
Is any possibility to have code completion when I would like to add @Route in phpDoc? When I type @Route it should show code completion and automatic add "use" statement? I watched a symfony tutorial (I'm beginner) and in this video PHPStrom showed code completion and automatic added "use" statement... I installed symfony plugin and other things and code completions works.