wymyśliłem coś takiego, proszę o jakieś sugestie / poprawki, ażeby to jak najbardziej przypominało programowanie obiektowe

plik switch.class.php
<?php class Pages { public $page; function add_page($pag) { $this->page = $pag; } function inc_page() { include("include/".$this->page.".php"); } else { } } } ?>
plik index.php
<?php include("switch.class.php"); $pages = new Pages; $pages->add_page($_GET['page']); $pages->inc_page(); ?>