src/Ultra/Mutator/Mutator.php
public function trim(array $namespaces)
    {
        foreach($this->data as $post)
        {
            $this->removeNamespace($post, $namespaces);
        }

        return $this;
    }
public function trim(array $namespaces)
    {
        foreach($this->data as $post)
        {
            $this->removeNamespace($post, $namespaces);
        }

        return $this;
    }
public function trim ( array $ namespaces ) { foreach ( $ this -> data as $ post ) { $ this -> removeNamespace ( $ post , $ namespaces ) ; } return $ this ; }
Trim surplus namespaces from array keys.

@param array $namespaces The namespaces to remove
@return Ultra\Mutator\Mutator
Trim surplus namespaces from array keys .