public function addBehavior($slug, $strategy, array $args = [])
    {
        $behavior = $this->getBehavior($slug, $strategy);
        if ($this->bucket->enabled($behavior)) {
            $this->setBehavior($behavior, $args);
        }

        return $this;
    }
public function addBehavior($slug, $strategy, array $args = [])
    {
        $behavior = $this->getBehavior($slug, $strategy);
        if ($this->bucket->enabled($behavior)) {
            $this->setBehavior($behavior, $args);
        }

        return $this;
    }
public function addBehavior ( $ slug , $ strategy , array $ args = [ ] ) { $ behavior = $ this -> getBehavior ( $ slug , $ strategy ) ; if ( $ this -> bucket -> enabled ( $ behavior ) ) { $ this -> setBehavior ( $ behavior , $ args ) ; } return $ this ; }
Add a behavior to be executed later.

Behavior will only be added if it is enabled for the user's bucket.

@param string $slug
@param mixed  $strategy
@param array  $args

@return \Zumba\Swivel\BuilderInterface
Add a behavior to be executed later .