src/Titon/Common/Config.php
public static function add($key, $value) {
        $data = (array) static::get($key, []);
        $data[] = $value;

        static::set($key, $data);
    }
public static function add($key, $value) {
        $data = (array) static::get($key, []);
        $data[] = $value;

        static::set($key, $data);
    }
public static function add ( $ key , $ value ) { $ data = ( array ) static :: get ( $ key , [ ] ) ; $ data [ ] = $ value ; static :: set ( $ key , $ data ) ; }
Add a value to a key. If the value is not an array, make it one.

@param string $key
@param mixed $value
Add a value to a key . If the value is not an array make it one .