Skip to content
Browse files

Fluent interface for ToggleCompositeField

  • Loading branch information...
1 parent b4ecc30 commit b42a76bebc3eabcdf40920c7eaae7a6e8caad5b7 @chillu chillu committed Jul 15, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 forms/ToggleCompositeField.php
View
2 forms/ToggleCompositeField.php
@@ -66,6 +66,7 @@ public function getStartClosed() {
*/
public function setStartClosed($bool) {
$this->startClosed = (bool) $bool;
+ return $this;
}
/**
@@ -80,6 +81,7 @@ public function getHeadingLevel() {
*/
public function setHeadingLevel($level) {
$this->headingLevel = $level;
+ return $this;
}
/**

0 comments on commit b42a76b

Please sign in to comment.
Something went wrong with that request. Please try again.