Permalink
Browse files

[Config] added some phpdocs

  • Loading branch information...
1 parent 855319a commit b3345c9abf7c4d14bdaa5d2086220c1dfc736a47 @fabpot fabpot committed Oct 6, 2012
Showing with 14 additions and 0 deletions.
  1. +14 −0 src/Symfony/Component/Config/Definition/Builder/ArrayNodeDefinition.php
@@ -209,6 +209,13 @@ public function canBeUnset($allow = true)
return $this;
}
+ /**
+ * Adds an "enabled" boolean to enable the current section.
+ *
+ * By default, the section is disabled.
+ *
+ * @return ArrayNodeDefinition
+ */
public function canBeEnabled()
{
$this
@@ -223,6 +230,13 @@ public function canBeEnabled()
return $this;
}
+ /**
+ * Adds an "enabled" boolean to enable the current section.
+ *
+ * By default, the section is enabled.
+ *
+ * @return ArrayNodeDefinition
+ */
public function canBeDisabled()
{
$this

0 comments on commit b3345c9

Please sign in to comment.