Skip to content

Commit

Permalink
Merge pull request #42 from zumba/fix-breaking-change-from-2-1-4
Browse files Browse the repository at this point in the history
Remove new interface methods.  These are backwards incompatable with …
  • Loading branch information
young-steveo authored Dec 12, 2018
2 parents e9d0a2b + 3573dbd commit 922c455
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/BuilderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,29 +29,6 @@ public function addBehavior($slug, $strategy, array $args = []);
*/
public function defaultBehavior($strategy, array $args = []);

/**
* Add a value to be returned when the builder is executed.
*
* Value will only be returned if it is enabled for the user's bucket.
*
* @param string $slug
* @param mixed $value
*
* @return \Zumba\Swivel\BuilderInterface
*/
public function addValue($slug, $value);

/**
* Add a default value.
*
* Will be used if all other behaviors and values are not enabled for the user's bucket.
*
* @param mixed $value
*
* @return \Zumba\Swivel\BuilderInterface
*/
public function defaultValue($value);

/**
* Creates a new Behavior object with an attached strategy.
*
Expand Down

0 comments on commit 922c455

Please sign in to comment.