public function setSuccessLocationHeader(
        string $location,
        EntityFactoryConfig $config,
        int $status = 302
    ): RouteInterface {
        return $this->addFirst(new SuccessHeaderLocationMiddleware($location, $config, $status));
    }