protected function setBehavior(Behavior $behavior, array $args = [])
    {
        $slug = $behavior->getSlug();
        $this->logger->debug('Swivel - Setting behavior.', compact('slug', 'args'));
        $this->behavior = $behavior;
        $this->args = $args;
    }
protected function setBehavior(Behavior $behavior, array $args = [])
    {
        $slug = $behavior->getSlug();
        $this->logger->debug('Swivel - Setting behavior.', compact('slug', 'args'));
        $this->behavior = $behavior;
        $this->args = $args;
    }
protected function setBehavior ( Behavior $ behavior , array $ args = [ ] ) { $ slug = $ behavior -> getSlug ( ) ; $ this -> logger -> debug ( 'Swivel - Setting behavior.' , compact ( 'slug' , 'args' ) ) ; $ this -> behavior = $ behavior ; $ this -> args = $ args ; }
Set the behavior and it's args.

@param \Zumba\Swivel\Behavior $behavior
@param array                  $args
Set the behavior and it s args .