Fluent interface for ToggleCompositeField

This commit is contained in:
Ingo Schommer 2012-07-15 21:28:09 +02:00
parent b4ecc308a1
commit b42a76bebc

View File

@ -66,6 +66,7 @@ class ToggleCompositeField extends CompositeField {
*/
public function setStartClosed($bool) {
$this->startClosed = (bool) $bool;
return $this;
}
/**
@ -80,6 +81,7 @@ class ToggleCompositeField extends CompositeField {
*/
public function setHeadingLevel($level) {
$this->headingLevel = $level;
return $this;
}
/**