public function createFromArray($config)
    {
        foreach ($config as $property => $value) {
            $this->{$property} = $value;
        }

        return $this;
    }
public function createFromArray($config)
    {
        foreach ($config as $property => $value) {
            $this->{$property} = $value;
        }

        return $this;
    }
public function createFromArray ( $ config ) { foreach ( $ config as $ property => $ value ) { $ this -> { $ property } = $ value ; } return $ this ; }
Configures a view builder instance from serialized config.

@param array $config View builder configuration array.
@return $this Configured view builder instance.
Configures a view builder instance from serialized config .