X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fclass_BaseFrameworkSystem.php;h=56b1cbfa36bd25465069feb27892b74181983c29;hp=8c459c5d3a334af0238cc72930f8e3fb8a7e34b4;hb=2bc46408255b2f45b9116c3271b65c877f2b7fd3;hpb=95757f61afe3e0bbd1d8edcd3d50b60fb4299dee diff --git a/inc/classes/main/class_BaseFrameworkSystem.php b/inc/classes/main/class_BaseFrameworkSystem.php index 8c459c5d..56b1cbfa 100644 --- a/inc/classes/main/class_BaseFrameworkSystem.php +++ b/inc/classes/main/class_BaseFrameworkSystem.php @@ -263,6 +263,11 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { */ private $controllerName = ''; + /** + * Name of used protocol + */ + private $protocolName = 'invalid'; + /** * Array with bitmasks and such for pack/unpack methods to support both * 32-bit and 64-bit systems @@ -1595,6 +1600,25 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { return $this->controllerName; } + /** + * Getter for protocol name + * + * @return $protocolName Name of used protocol + */ + public final function getProtocolName () { + return $this->protocolName; + } + + /** + * Setter for protocol name + * + * @param $protocolName Name of used protocol + * @return void + */ + protected final function setProtocolName ($protocolName) { + $this->protocolName = $protocolName; + } + /** * Checks whether an object equals this object. You should overwrite this * method to implement own equality checks