public function addAll(Paths $paths) {
		foreach ($paths as $p) {
			$path = $this->get($p->getPath());
			foreach ($p->getMethods() as $method) {
				$path->setOperation($method, $p->getOperation($method));
			}
		}
	}
public function addAll(Paths $paths) {
		foreach ($paths as $p) {
			$path = $this->get($p->getPath());
			foreach ($p->getMethods() as $method) {
				$path->setOperation($method, $p->getOperation($method));
			}
		}
	}
public function addAll ( Paths $ paths ) { foreach ( $ paths as $ p ) { $ path = $ this -> get ( $ p -> getPath ( ) ) ; foreach ( $ p -> getMethods ( ) as $ method ) { $ path -> setOperation ( $ method , $ p -> getOperation ( $ method ) ) ; } } }
Adds all operations from another paths collection. Will overwrite existing operations.

@param Paths $paths
Adds all operations from another paths collection . Will overwrite existing operations .