@@ -105,12 +105,16 @@ Container Builder
105
105
106
106
* ``goto `` - tags: all tagged services
107
107
108
+ .. note ::
109
+ All ContainerBuilder calls provides access to service-index which includes private ones
108
110
109
111
Doctrine
110
112
-------------------------
111
113
112
114
.. code-block :: php
113
115
116
+ $em->getRepository(Entity::class);
117
+ $em->getRepository($this->foo);
114
118
$em->getRepository('<FooBundle:Entity >');
115
119
116
120
* ``goto `` - Go to entity class
@@ -185,6 +189,15 @@ Routing
185
189
* ``goto `` - Controller action method
186
190
* ``complete `` - Controller names of Bundle structure or controller services as shortcut
187
191
192
+ .. code-block :: php
193
+
194
+ # Symfony\Bundle\FrameworkBundle\Controller\Controller::forward
195
+ # Symfony\Bundle\FrameworkBundle\Controller\Controller::generateUrl
196
+ $this->generateUrl('<controller _action >', array('<parameter >' => 'test'))
197
+
198
+ * ``goto `` - Method Parameter
199
+ * ``complete `` - Parameters of route
200
+
188
201
189
202
Forms
190
203
-------------------------
@@ -254,6 +267,27 @@ Forms
254
267
* ``complete `` - all matched form options
255
268
256
269
270
+ .. code-block :: php
271
+
272
+ # Symfony\Component\Form\FormFactory::create
273
+ # Symfony\Component\Form\FormFactory::createNamedBuilder
274
+ # Symfony\Bundle\FrameworkBundle\Controller\Controller::createForm
275
+ $this->createForm('button', "type", array(
276
+ '<option >' => 'foo'
277
+ ));
278
+
279
+ * ``goto `` - array definition of option
280
+ * ``complete `` - all matched form options
281
+
282
+ .. note ::
283
+ Types are resolve on parents and other condition
284
+
285
+ .. code-block :: php
286
+
287
+ # \Symfony\Component\Form\Form::get
288
+ # \Symfony\Component\Form\Form::has
289
+ $form->get('<foo >');
290
+
257
291
EventDispatcher
258
292
-------------------------
259
293
.. code-block :: php
@@ -284,3 +318,20 @@ Class
284
318
285
319
* ``lineMarker `` - Mark line and provide goto if a service is known definition
286
320
* ``goto `` - class service definition
321
+
322
+ .. note ::
323
+ Includes private services
324
+
325
+ Related Files
326
+ -------------------------
327
+
328
+ Controller method provide related files popover as line marker
329
+
330
+ .. code-block :: php
331
+
332
+ public function indexAction() {}
333
+
334
+ .. image :: controller_method_related_files.png
335
+
336
+ * ``lineMarker `` - Provide related file like routes and templates
337
+
0 commit comments