public function map(string $name, array $aliases): bool
    {
        $memory = $this->memory->make();
        $meta = $memory->get("extension_{$name}", []);

        foreach ($aliases as $current => $default) {
            isset($meta[$current]) && $this->config->set($default, $meta[$current]);

            $meta[$current] = $this->config->get($default);
        }

        $memory->put("extension_{$name}", $meta);

        return true;
    }
public function map(string $name, array $aliases): bool
    {
        $memory = $this->memory->make();
        $meta = $memory->get("extension_{$name}", []);

        foreach ($aliases as $current => $default) {
            isset($meta[$current]) && $this->config->set($default, $meta[$current]);

            $meta[$current] = $this->config->get($default);
        }

        $memory->put("extension_{$name}", $meta);

        return true;
    }
public function map ( string $ name , array $ aliases ) : bool { $ memory = $ this -> memory -> make ( ) ; $ meta = $ memory -> get ( "extension_{$name}" , [ ] ) ; foreach ( $ aliases as $ current => $ default ) { isset ( $ meta [ $ current ] ) && $ this -> config -> set ( $ default , $ meta [ $ current ] ) ; $ meta [ $ current ] = $ this -> config -> get ( $ default ) ; } $ memory -> put ( "extension_{$name}" , $ meta ) ; return true ; }
Map configuration to allow orchestra to store it in database.

@param  string  $name
@param  array   $aliases

@return bool
Map configuration to allow orchestra to store it in database .