tebex/api must contain only the raw Tebex API requests and responses and code must only read the responses (and not manipulate it in any way). Any code which wishes to do so must come under tebex/handler, and methods such as TebexCommand::asOnlineFormattedString should be removed as they aren't really a part of the API that Tebex offers, but rather a result of manipulation of API responses.
This will also make the task of extracting tebex/api into a separate library/virion easier.
tebex/api
must contain only the raw Tebex API requests and responses and code must only read the responses (and not manipulate it in any way). Any code which wishes to do so must come undertebex/handler
, and methods such asTebexCommand::asOnlineFormattedString
should be removed as they aren't really a part of the API that Tebex offers, but rather a result of manipulation of API responses. This will also make the task of extractingtebex/api
into a separate library/virion easier.