File tree Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -710,8 +710,8 @@ public function getAlias($id)
710710 * This methods allows for simple registration of service definition
711711 * with a fluid interface.
712712 *
713- * @param string $id The service identifier
714- * @param string $class The service class
713+ * @param string $id The service identifier
714+ * @param string $class|null The service class
715715 *
716716 * @return Definition A Definition instance
717717 */
Original file line number Diff line number Diff line change @@ -257,18 +257,38 @@ public function setArguments(array $arguments)
257257 return $ this ;
258258 }
259259
260+ /**
261+ * Sets the properties to define when creating the service.
262+ *
263+ * @param array $properties
264+ *
265+ * @return $this
266+ */
260267 public function setProperties (array $ properties )
261268 {
262269 $ this ->properties = $ properties ;
263270
264271 return $ this ;
265272 }
266273
274+ /**
275+ * Gets the properties to define when creating the service.
276+ *
277+ * @return array
278+ */
267279 public function getProperties ()
268280 {
269281 return $ this ->properties ;
270282 }
271283
284+ /**
285+ * Sets a specific property.
286+ *
287+ * @param string $name
288+ * @param mixed $value
289+ *
290+ * @return $this
291+ */
272292 public function setProperty ($ name , $ value )
273293 {
274294 $ this ->properties [$ name ] = $ value ;
@@ -291,7 +311,7 @@ public function addArgument($argument)
291311 }
292312
293313 /**
294- * Sets a specific argument.
314+ * Replaces a specific argument.
295315 *
296316 * @param int $index
297317 * @param mixed $argument
You can’t perform that action at this time.
0 commit comments