public function getIdentifier() { return $this->getHttpMethod() . ' ' . $this->getPath(); }
protected function createRouteName(ApiEndpoint $endpoint) { return serialize(['collection' => $this->getIdentifier(), 'endpoint' => $endpoint->getIdentifier()]); }