Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Template
- {
- public function myMethod()
- {
- return "hey!";
- }
- public function render()
- {
- include "view.php";
- }
- }
- //view.php:
- echo $this->myMethod();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement