public function edit(array $values): self
    {
        foreach ($values as $name => $value) {
            $this->__set($name, $value);
        }

        return $this;
    }
public function edit(array $values): self
    {
        foreach ($values as $name => $value) {
            $this->__set($name, $value);
        }

        return $this;
    }
public function edit ( array $ values ) : self { foreach ( $ values as $ name => $ value ) { $ this -> __set ( $ name , $ value ) ; } return $ this ; }
Edit the values using an array
Edit the values using an array