public function addManyEndpoints(array $endpoints) { foreach ($endpoints as $endpoint) { $this->addEndpoint($endpoint); } }