public function fill(array $attributes = [])
    {
        foreach ($attributes as $key => $value) {
            $this->setAttribute($key, $value);
        }

        return $this;
    }
public function fill(array $attributes = [])
    {
        foreach ($attributes as $key => $value) {
            $this->setAttribute($key, $value);
        }

        return $this;
    }
public function fill ( array $ attributes = [ ] ) { foreach ( $ attributes as $ key => $ value ) { $ this -> setAttribute ( $ key , $ value ) ; } return $ this ; }
Fills the entry with the supplied attributes.

@param array $attributes

@return $this
Fills the entry with the supplied attributes .