private function addArrayAttributes($attribute, array $values)
    {
        array_map(function ($value) use ($attribute) {
            $this->attributes->put($attribute, $value);
        }, $values);

        return $this;
    }
private function addArrayAttributes($attribute, array $values)
    {
        array_map(function ($value) use ($attribute) {
            $this->attributes->put($attribute, $value);
        }, $values);

        return $this;
    }
private function addArrayAttributes ( $ attribute , array $ values ) { array_map ( function ( $ value ) use ( $ attribute ) { $ this -> attributes -> put ( $ attribute , $ value ) ; } , $ values ) ; return $ this ; }
Add a array values to attribute collection.

@param string $attribute
@param array  $values

@return self
Add a array values to attribute collection .