src/Builder.php
public function defaultBehavior($strategy, array $args = [])
    {
        if ($this->defaultWaived) {
            $exception = new \LogicException('Defined a default behavior after `noDefault` was called.');
            $this->logger->critical('Swivel', compact('exception'));
            throw $exception;
        }
        if (!$this->behavior) {
            $this->setBehavior($this->getBehavior($strategy), $args);
        }

        return $this;
    }
public function defaultBehavior($strategy, array $args = [])
    {
        if ($this->defaultWaived) {
            $exception = new \LogicException('Defined a default behavior after `noDefault` was called.');
            $this->logger->critical('Swivel', compact('exception'));
            throw $exception;
        }
        if (!$this->behavior) {
            $this->setBehavior($this->getBehavior($strategy), $args);
        }

        return $this;
    }
Add a default behavior.

Will be used if all other behaviors and values are not enabled for the user's bucket.

@param callable $strategy
@param array    $args

@return \Zumba\Swivel\BuilderInterface