public function addNamespace($namespace) { $this->namespaces[] = trim($namespace, '\\'); return $this; }