public function addResources(array $resources) {
		foreach ($resources as $name => $resource) {
			if (is_numeric($name)) {
				$this->addResource($resource);
				continue;
			}
			
			$this->addResource($resource, $name);
		}
		
		return $this;
	}
public function addResources(array $resources) {
		foreach ($resources as $name => $resource) {
			if (is_numeric($name)) {
				$this->addResource($resource);
				continue;
			}
			
			$this->addResource($resource, $name);
		}
		
		return $this;
	}
public function addResources ( array $ resources ) { foreach ( $ resources as $ name => $ resource ) { if ( is_numeric ( $ name ) ) { $ this -> addResource ( $ resource ) ; continue ; } $ this -> addResource ( $ resource , $ name ) ; } return $ this ; }
Add the resources

@param array $resources
Add the resources