Skip to content

Commit

Permalink
Remove new interface methods. These are backwards incompatable with t…
Browse files Browse the repository at this point in the history
…he previous patch version.

The new version 3.0.0 keeps these methods in the interface and is the new master.
  • Loading branch information
young-steveo committed Dec 12, 2018
1 parent e9d0a2b commit 3573dbd
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 3573dbd

Please sign in to comment.