X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fclass_BaseFrameworkSystem.php;h=b13875fa7a71d1df7aca2103db2ada88d889d346;hp=78cdde3f367828f3e4f7cf12e015b9b3e5e3e561;hb=3b77b09405f7b3e9c9c889b165611b1c32feb0b9;hpb=e09b363cfbdc093f05bde31c40a185ec87525205 diff --git a/inc/classes/main/class_BaseFrameworkSystem.php b/inc/classes/main/class_BaseFrameworkSystem.php index 78cdde3f..b13875fa 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 FrameworkFileInputOutputPointer instance + * + * @param $pointerInstance An instance of an FrameworkFileInputOutputPointer + * @return void + */ + protected final function setPointerInstance (FrameworkFileInputOutputPointer $pointerInstance) { + $this->pointerInstance = $pointerInstance; + } + + /** + * Getter for FrameworkFileInputOutputPointer instance + * + * @return $pointerInstance An instance of an FrameworkFileInputOutputPointer + */ + public final function getPointerInstance () { + return $this->pointerInstance; + } + /** * Checks whether an object equals this object. You should overwrite this * method to implement own equality checks