yii\BaseYii::configure PHP Метод

configure() публичный статический метод

Configures an object with the initial property values.
public static configure ( object $object, array $properties ) : object
$object object the object to be configured
$properties array the property initial values given in terms of name-value pairs.
Результат object the object itself
    public static function configure($object, $properties)
    {
        foreach ($properties as $name => $value) {
            $object->{$name} = $value;
        }
        return $object;
    }