public static function setPropertiesValue($object, array $properties)
    {
        foreach ($properties as $name => $value) {
            self::setPropertyValue($object, $name, $value);
        }
    }
public static function setPropertiesValue($object, array $properties)
    {
        foreach ($properties as $name => $value) {
            self::setPropertyValue($object, $name, $value);
        }
    }
public static function setPropertiesValue ( $ object , array $ properties ) { foreach ( $ properties as $ name => $ value ) { self :: setPropertyValue ( $ object , $ name , $ value ) ; } }
Set value to properties

@param object|string $object
@param array         $properties
Set value to properties