|
@@ -40,6 +40,16 @@ class ParameterBag
|
|
|
return $this->parameters;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * Returns the parameter keys.
|
|
|
+ *
|
|
|
+ * @return array An array of parameter keys
|
|
|
+ */
|
|
|
+ public function keys()
|
|
|
+ {
|
|
|
+ return array_keys($this->parameters);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* Replaces the current parameters by a new set.
|
|
|
*
|