diff --git a/Object.php b/Object.php new file mode 100644 index 0000000..c186d8c --- /dev/null +++ b/Object.php @@ -0,0 +1,24 @@ +file = $file; + } + + public function parse():void { + if(is_file($this->file) !== TRUE) { + die("The requested file is not available"); + + } + ob_start(); + include $this->file; + $this->content = ob_get_clean(); + } + + public function return():string { + return $this->content; + } + }