@@ -56,7 +56,7 @@ public function __construct($class = null, array $arguments = array())
56
56
*
57
57
* @param string|array $factory A PHP function or an array containing a class/Reference and a method to call
58
58
*
59
- * @return Definition The current instance
59
+ * @return $this
60
60
*/
61
61
public function setFactory ($ factory )
62
62
{
@@ -86,7 +86,7 @@ public function getFactory()
86
86
* @param null|string $renamedId The new decorated service id
87
87
* @param int $priority The priority of decoration
88
88
*
89
- * @return Definition The current instance
89
+ * @return $this
90
90
*
91
91
* @throws InvalidArgumentException In case the decorated service id and the new decorated service id are equals.
92
92
*/
@@ -120,7 +120,7 @@ public function getDecoratedService()
120
120
*
121
121
* @param string $class The service class
122
122
*
123
- * @return Definition The current instance
123
+ * @return $this
124
124
*/
125
125
public function setClass ($ class )
126
126
{
@@ -144,7 +144,7 @@ public function getClass()
144
144
*
145
145
* @param array $arguments An array of arguments
146
146
*
147
- * @return Definition The current instance
147
+ * @return $this
148
148
*/
149
149
public function setArguments (array $ arguments )
150
150
{
@@ -177,7 +177,7 @@ public function setProperty($name, $value)
177
177
*
178
178
* @param mixed $argument An argument
179
179
*
180
- * @return Definition The current instance
180
+ * @return $this
181
181
*/
182
182
public function addArgument ($ argument )
183
183
{
@@ -192,7 +192,7 @@ public function addArgument($argument)
192
192
* @param int $index
193
193
* @param mixed $argument
194
194
*
195
- * @return Definition The current instance
195
+ * @return $this
196
196
*
197
197
* @throws OutOfBoundsException When the replaced argument does not exist
198
198
*/
@@ -240,7 +240,7 @@ public function getArgument($index)
240
240
*
241
241
* @param array $calls An array of method calls
242
242
*
243
- * @return Definition The current instance
243
+ * @return $this
244
244
*/
245
245
public function setMethodCalls (array $ calls = array ())
246
246
{
@@ -258,7 +258,7 @@ public function setMethodCalls(array $calls = array())
258
258
* @param string $method The method name to call
259
259
* @param array $arguments An array of arguments to pass to the method call
260
260
*
261
- * @return Definition The current instance
261
+ * @return $this
262
262
*
263
263
* @throws InvalidArgumentException on empty $method param
264
264
*/
@@ -277,7 +277,7 @@ public function addMethodCall($method, array $arguments = array())
277
277
*
278
278
* @param string $method The method name to remove
279
279
*
280
- * @return Definition The current instance
280
+ * @return $this
281
281
*/
282
282
public function removeMethodCall ($ method )
283
283
{
@@ -324,7 +324,7 @@ public function getMethodCalls()
324
324
*
325
325
* @param array $tags
326
326
*
327
- * @return Definition the current instance
327
+ * @return $this
328
328
*/
329
329
public function setTags (array $ tags )
330
330
{
@@ -361,7 +361,7 @@ public function getTag($name)
361
361
* @param string $name The tag name
362
362
* @param array $attributes An array of attributes
363
363
*
364
- * @return Definition The current instance
364
+ * @return $this
365
365
*/
366
366
public function addTag ($ name , array $ attributes = array ())
367
367
{
@@ -387,7 +387,7 @@ public function hasTag($name)
387
387
*
388
388
* @param string $name The tag name
389
389
*
390
- * @return Definition
390
+ * @return $this
391
391
*/
392
392
public function clearTag ($ name )
393
393
{
@@ -399,7 +399,7 @@ public function clearTag($name)
399
399
/**
400
400
* Clears the tags for this definition.
401
401
*
402
- * @return Definition The current instance
402
+ * @return $this
403
403
*/
404
404
public function clearTags ()
405
405
{
@@ -413,7 +413,7 @@ public function clearTags()
413
413
*
414
414
* @param string $file A full pathname to include
415
415
*
416
- * @return Definition The current instance
416
+ * @return $this
417
417
*/
418
418
public function setFile ($ file )
419
419
{
@@ -461,7 +461,7 @@ public function isShared()
461
461
*
462
462
* @param bool $boolean
463
463
*
464
- * @return Definition The current instance
464
+ * @return $this
465
465
*/
466
466
public function setPublic ($ boolean )
467
467
{
@@ -485,7 +485,7 @@ public function isPublic()
485
485
*
486
486
* @param bool $lazy
487
487
*
488
- * @return Definition The current instance
488
+ * @return $this
489
489
*/
490
490
public function setLazy ($ lazy )
491
491
{
@@ -510,7 +510,7 @@ public function isLazy()
510
510
*
511
511
* @param bool $boolean
512
512
*
513
- * @return Definition the current instance
513
+ * @return $this
514
514
*/
515
515
public function setSynthetic ($ boolean )
516
516
{
@@ -536,7 +536,7 @@ public function isSynthetic()
536
536
*
537
537
* @param bool $boolean
538
538
*
539
- * @return Definition the current instance
539
+ * @return $this
540
540
*/
541
541
public function setAbstract ($ boolean )
542
542
{
@@ -614,7 +614,7 @@ public function getDeprecationMessage($id)
614
614
*
615
615
* @param string|array $configurator A PHP callable
616
616
*
617
- * @return Definition The current instance
617
+ * @return $this
618
618
*/
619
619
public function setConfigurator ($ configurator )
620
620
{
0 commit comments