File tree Expand file tree Collapse file tree 2 files changed +24
-4
lines changed Expand file tree Collapse file tree 2 files changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -729,8 +729,8 @@ public function getAlias($id)
729729 * This methods allows for simple registration of service definition
730730 * with a fluid interface.
731731 *
732- * @param string $id The service identifier
733- * @param string $class The service class
732+ * @param string $id The service identifier
733+ * @param string $class|null The service class
734734 *
735735 * @return Definition A Definition instance
736736 */
Original file line number Diff line number Diff line change @@ -265,18 +265,38 @@ public function setArguments(array $arguments)
265265 return $ this ;
266266 }
267267
268+ /**
269+ * Sets the properties to define when creating the service.
270+ *
271+ * @param array $properties
272+ *
273+ * @return $this
274+ */
268275 public function setProperties (array $ properties )
269276 {
270277 $ this ->properties = $ properties ;
271278
272279 return $ this ;
273280 }
274281
282+ /**
283+ * Gets the properties to define when creating the service.
284+ *
285+ * @return array
286+ */
275287 public function getProperties ()
276288 {
277289 return $ this ->properties ;
278290 }
279291
292+ /**
293+ * Sets a specific property.
294+ *
295+ * @param string $name
296+ * @param mixed $value
297+ *
298+ * @return $this
299+ */
280300 public function setProperty ($ name , $ value )
281301 {
282302 $ this ->properties [$ name ] = $ value ;
@@ -299,7 +319,7 @@ public function addArgument($argument)
299319 }
300320
301321 /**
302- * Sets a specific argument.
322+ * Replaces a specific argument.
303323 *
304324 * @param int $index
305325 * @param mixed $argument
@@ -854,7 +874,7 @@ public function isAutowired()
854874 }
855875
856876 /**
857- * Sets autowired .
877+ * Enables/disables autowiring .
858878 *
859879 * @param bool $autowired
860880 *
You can’t perform that action at this time.
0 commit comments