// Import application-specific stuff
use Org\Shipsimu\Hub\Generic\BaseHubSystem;
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Traits\Template\CompileableTemplateTrait;
+
/**
* A general hub helper class. This class does not extend BaseHelper.
*
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
abstract class BaseHubSystemHelper extends BaseHubSystem implements HubHelper {
+ // Load traits
+ use CompileableTemplateTrait;
+
/**
* Recipient id
*/
- private $recipientId = '';
+ private $recipientId = 'invalid';
/**
* Recipient type
use Org\Mxchange\CoreFramework\Factory\Template\XmlTemplateEngineFactory;
use Org\Mxchange\CoreFramework\Registry\Registerable;
use Org\Mxchange\CoreFramework\Template\Xml\CompileableXmlTemplate;
+use Org\Mxchange\CoreFramework\Traits\Template\CompileableTemplateTrait;
/**
* A RequestNodeListAnswer template engine class for XML templates
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
class XmlRequestNodeListAnswerTemplateEngine extends BaseXmlAnswerTemplateEngine implements CompileableXmlTemplate, Registerable {
+ // Load traits
+ use CompileableTemplateTrait;
+
// Constants for array elements
const REQUEST_DATA_SESSION_ID = 'session-id';
const REQUEST_DATA_NODE_LIST = 'node-list';