public function setJugglable(array $attributes)
    {
        // Check that each of the types are indeed jugglable types
        foreach ($attributes as $attribute => $type) {
            $this->checkJuggleType($type);
        }

        // Set the juggle attributes
        $this->jugglable = $attributes;
    }
public function setJugglable(array $attributes)
    {
        // Check that each of the types are indeed jugglable types
        foreach ($attributes as $attribute => $type) {
            $this->checkJuggleType($type);
        }

        // Set the juggle attributes
        $this->jugglable = $attributes;
    }
public function setJugglable ( array $ attributes ) { // Check that each of the types are indeed jugglable types foreach ( $ attributes as $ attribute => $ type ) { $ this -> checkJuggleType ( $ type ) ; } // Set the juggle attributes $ this -> jugglable = $ attributes ; }
Set the jugglable attributes.

@param array $attributes to juggle

@throws InvalidArgumentException
Set the jugglable attributes .