gossi\codegen\generator\CodeGenerator::configure PHP Method

configure() protected method

protected configure ( $config = null )
    protected function configure($config = null)
    {
        if (is_array($config)) {
            $this->config = new CodeGeneratorConfig($config);
        } else {
            if ($config instanceof CodeGeneratorConfig) {
                $this->config = $config;
            } else {
                $this->config = new CodeGeneratorConfig();
            }
        }
    }