X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fclass_BaseFrameworkSystem.php;h=abcefc8c35f6b2aaed66eaa6e7fa31ed0e3c14c1;hp=78cdde3f367828f3e4f7cf12e015b9b3e5e3e561;hb=0a638eea103f0f2b6c48374cb8d01e68893f5a65;hpb=b4683952aea678cf8e45d95989176073961de136 diff --git a/inc/classes/main/class_BaseFrameworkSystem.php b/inc/classes/main/class_BaseFrameworkSystem.php index 78cdde3f..abcefc8c 100644 --- a/inc/classes/main/class_BaseFrameworkSystem.php +++ b/inc/classes/main/class_BaseFrameworkSystem.php @@ -173,6 +173,11 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { */ private $wrapperInstance = NULL; + /** + * An instance of a file I/O pointer class (not handler) + */ + private $pointerInstance = NULL; + /** * Thousands separator */ @@ -1218,6 +1223,25 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { return $this->iteratorInstance; } + /** + * Setter for InputOutputPointer instance + * + * @param $pointerInstance An instance of an InputOutputPointer + * @return void + */ + protected final function setPointerInstance (InputOutputPointer $pointerInstance) { + $this->pointerInstance = $pointerInstance; + } + + /** + * Getter for InputOutputPointer instance + * + * @return $pointerInstance An instance of an InputOutputPointer + */ + public final function getPointerInstance () { + return $this->pointerInstance; + } + /** * Checks whether an object equals this object. You should overwrite this * method to implement own equality checks