8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 855319a commit b3345c9Copy full SHA for b3345c9
src/Symfony/Component/Config/Definition/Builder/ArrayNodeDefinition.php
@@ -209,6 +209,13 @@ public function canBeUnset($allow = true)
209
return $this;
210
}
211
212
+ /**
213
+ * Adds an "enabled" boolean to enable the current section.
214
+ *
215
+ * By default, the section is disabled.
216
217
+ * @return ArrayNodeDefinition
218
+ */
219
public function canBeEnabled()
220
{
221
$this
@@ -223,6 +230,13 @@ public function canBeEnabled()
223
230
224
231
225
232
233
234
235
236
+ * By default, the section is enabled.
237
238
239
226
240
public function canBeDisabled()
227
241
228
242
0 commit comments