Pimcore\Model\Object\ClassDefinition\Data::setValues PHP Метод

setValues() публичный Метод

public setValues ( array $data = [] )
$data array
    public function setValues($data = [])
    {
        foreach ($data as $key => $value) {
            $method = "set" . $key;
            if (method_exists($this, $method)) {
                $this->{$method}($value);
            }
        }
        return $this;
    }