protected function setNamespace($alias, $props)
    {
        array_walk($props, function (&$value) {
            if (is_array($value)) {
                $value = array_unique($value);
            }
        });

        $this->namespaces[$alias] = array_filter($props);
    }
protected function setNamespace($alias, $props)
    {
        array_walk($props, function (&$value) {
            if (is_array($value)) {
                $value = array_unique($value);
            }
        });

        $this->namespaces[$alias] = array_filter($props);
    }
protected function setNamespace ( $ alias , $ props ) { array_walk ( $ props , function ( & $ value ) { if ( is_array ( $ value ) ) { $ value = array_unique ( $ value ) ; } } ) ; $ this -> namespaces [ $ alias ] = array_filter ( $ props ) ; }
Adds a namespace array group to the namespaces array.

If the group is an array, duplicate entries are removed. Empty groups
are removed from the final array entry.

@param string $alias
@param array $props
@return void
Adds a namespace array group to the namespaces array .