src/Object/DefaultConfigurator.php
public function configure($object, $config = [])
    {
        foreach ($config as $name => $value) {
            $object->$name = $value;
        }
        return $object;
    }
public function configure($object, $config = [])
    {
        foreach ($config as $name => $value) {
            $object->$name = $value;
        }
        return $object;
    }
Configur object
@param type $object
@param type $config
@return type