Transform ApiResponse::createXML() into dynamic method

This commit is contained in:
Philipp 2021-11-12 19:56:37 +01:00
parent 319f91301d
commit f28e64299e
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
3 changed files with 19 additions and 8 deletions

View file

@ -430,6 +430,15 @@ abstract class DI
return self::$dice->create(Model\Log\ParsedLogIterator::class);
}
//
// "Module" namespace
//
public static function apiResponse(): Module\Api\ApiResponse
{
return self::$dice->create(Module\Api\ApiResponse::class);
}
//
// "Network" namespace
//