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 @@ -868,8 +868,8 @@ public function getAlias($id)
868868 * This methods allows for simple registration of service definition
869869 * with a fluid interface.
870870 *
871- * @param string $id The service identifier
872- * @param string $class The service class
871+ * @param string $id The service identifier
872+ * @param string $class|null The service class
873873 *
874874 * @return Definition A Definition instance
875875 */
Original file line number Diff line number Diff line change @@ -188,18 +188,38 @@ public function setArguments(array $arguments)
188188 return $ this ;
189189 }
190190
191+ /**
192+ * Sets the properties to define when creating the service.
193+ *
194+ * @param array $properties
195+ *
196+ * @return $this
197+ */
191198 public function setProperties (array $ properties )
192199 {
193200 $ this ->properties = $ properties ;
194201
195202 return $ this ;
196203 }
197204
205+ /**
206+ * Gets the properties to define when creating the service.
207+ *
208+ * @return array
209+ */
198210 public function getProperties ()
199211 {
200212 return $ this ->properties ;
201213 }
202214
215+ /**
216+ * Sets a specific property.
217+ *
218+ * @param string $name
219+ * @param mixed $value
220+ *
221+ * @return $this
222+ */
203223 public function setProperty ($ name , $ value )
204224 {
205225 $ this ->properties [$ name ] = $ value ;
@@ -222,7 +242,7 @@ public function addArgument($argument)
222242 }
223243
224244 /**
225- * Sets a specific argument.
245+ * Replaces a specific argument.
226246 *
227247 * @param int|string $index
228248 * @param mixed $argument
You can’t perform that action at this time.
0 commit comments