PHP: Important Object Oriented Snippet