Path = $path; $this->Function = $func; } public function Render() { if (is_callable($this->Function)) { call_user_func($this->Function); } } } ?>